#505C06
Closest named color: Army Green (#4B5D16). oklch(44.9% 0.102 118.3), rgb(80, 92, 6).
Aa
White text reads best on this color (7.30:1).
About this color
#505C06 is a dark, moderately saturated yellow. In OKLCH its lightness is 45%, its chroma 0.102 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Army Green (#4B5D16), ΔE 0.009 away. White text reads best on it, at 7.30:1.
| Hue family | Yellows |
| Lightness | dark (45%) |
| Chroma | moderately saturated (0.102) |
| Temperature | in between |
| Nearest name | Army Green (#4B5D16) |
| Black text | 2.87:1 |
| White text | 7.30:1 |
Values
| HEX | #505C06 |
| RGB | rgb(80, 92, 6) |
| HSL | hsl(68, 88%, 19%) |
| OKLCH | oklch(44.9% 0.102 118.3) |
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 #505C06 | 7.30:1 | AAA | Lc -90.1 | Preferred for body text |
| Black text on #505C06 | 2.87:1 | Fails | Lc 18.8 | Dividers and decoration only |
| #505C06 text on white | 7.30:1 | AAA | Lc 85.2 | Fine for body text |
| #505C06 text on black | 2.87:1 | Fails | Lc -16.8 | 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
#D7DDC4
oklch(88.6% 0.034 118.1)
-
Step 300
300
#BCC69B
oklch(80.8% 0.059 118.4)
-
Step 400
400
#9BA963
oklch(70.7% 0.095 118.1)
-
Step 500
500
#839333
oklch(63.1% 0.122 118.1)
-
Step 600
600
#6D7D00
oklch(55.7% 0.13 118.3)
-
Step 700
700
#5B6900
oklch(49.2% 0.115 118.5)
-
Step 800
800 (this color)
#505C06
oklch(44.9% 0.102 118.3)
-
Step 900
900
#3E470D
oklch(37.7% 0.079 118.2)
-
Step 950
950
#242A0A
oklch(27.1% 0.051 118.9)
#505C06 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) | #635600 | 0.034 |
| Deuteranopia (no green cones) | #625711 | 0.034 |
| Tritanopia (no blue cones) | #56564D | 0.088 |
| Achromatopsia (no color) | #565656 | 0.102 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #505C06
#505C06
oklch(44.9% 0.102 118.3)
- #5D4785
#5D4785
oklch(45% 0.101 298.6)
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 #505C06, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Army Green #4B5D16 ΔE 0.009
- Camouflage Green #4B6113 ΔE 0.015
- Camo Green #526525 ΔE 0.031
- Olive Brown #645403 ΔE 0.039
- Mud Green #606602 ΔE 0.041
- Green Brown #544E03 ΔE 0.042
- Greeny Brown #696006 ΔE 0.043
- Dark Olive Green #556B2F ΔE 0.050
Use #505C06 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.