#505D05
Closest named color: Army Green (#4B5D16). oklch(45.1% 0.104 118.8), rgb(80, 93, 5).
Aa
White text reads best on this color (7.21:1).
About this color
#505D05 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 45%, its chroma 0.104 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Army Green (#4B5D16), ΔE 0.010 away. White text reads best on it, at 7.21:1.
| Hue family | Yellows |
| Lightness | medium-dark (45%) |
| Chroma | moderately saturated (0.104) |
| Temperature | in between |
| Nearest name | Army Green (#4B5D16) |
| Black text | 2.90:1 |
| White text | 7.21:1 |
Values
| HEX | #505D05 |
| RGB | rgb(80, 93, 5) |
| HSL | hsl(69, 90%, 19%) |
| OKLCH | oklch(45.1% 0.104 118.8) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #505D05 | 7.21:1 | AAA | Lc -89.8 | Fine for body text |
| Black text on #505D05 | 2.90:1 | Fails | Lc 19.1 | Dividers and decoration only |
| #505D05 text on white | 7.21:1 | AAA | Lc 84.9 | Fine for body text |
| #505D05 text on black | 2.90:1 | Fails | Lc -17.1 | Dividers and decoration only |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.
-
Step 50
50
#F5F6F0
oklch(97.1% 0.008 114.2)
-
Step 100
100
#E8ECDF
oklch(93.6% 0.018 120.7)
-
Step 200
200
#D6DDC4
oklch(88.5% 0.034 119.8)
-
Step 300
300
#BCC79B
oklch(81% 0.061 119.2)
-
Step 400
400
#9AA962
oklch(70.6% 0.097 118.7)
-
Step 500
500
#829332
oklch(63% 0.123 118.6)
-
Step 600
600
#6C7D00
oklch(55.6% 0.13 118.8)
-
Step 700
700
#5A6900
oklch(49.1% 0.115 119)
-
Step 800
800 (this color)
#505D05
oklch(45.1% 0.104 118.8)
-
Step 900
900
#3D470C
oklch(37.6% 0.08 119)
-
Step 950
950
#242A0A
oklch(27.1% 0.051 118.9)
#505D05 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #645700 | 0.035 |
| Deuteranopia (no green cones) | #625710 | 0.035 |
| Tritanopia (no blue cones) | #56574E | 0.089 |
| Achromatopsia (no color) | #575757 | 0.104 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #505D05
#505D05
oklch(45.1% 0.104 118.8)
- #5E4787
#5E4787
oklch(45.2% 0.104 298.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #505D05, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Army Green #4B5D16 ΔE 0.010
- Camouflage Green #4B6113 ΔE 0.013
- Camo Green #526525 ΔE 0.029
- Mud Green #606602 ΔE 0.039
- Olive Brown #645403 ΔE 0.040
- Greeny Brown #696006 ΔE 0.042
- Green Brown #544E03 ΔE 0.045
- Dark Olive Green #556B2F ΔE 0.048
Use #505D05 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.