#5C6A0F#5C6A0F
#5C6A0F is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.6% C 0.110 H 118.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5C6A0F |
|---|---|
| RGB | rgb(92, 106, 15) |
| HSL | hsl(69, 75%, 24%) |
| HSV | hsv(69, 86%, 42%) |
| CMYK | cmyk(13.2%, 0%, 85.8%, 58.4%) |
| CIE-LAB | lab(42.18, -17.49, 44.40) |
| CIE-LCH | lch(42.18, 47.72, 111.50°) |
| OKLab | oklab(49.56% -0.0527 0.0964) |
| OKLCH | oklch(49.56% 0.11 118.7) |
| XYZ | xyz(9.6541, 12.6179, 2.3788) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mud Green
#606602
ΔE00 2.83
Brownish Green
#6A6E09
ΔE00 3.98
Camouflage Green
#4B6113
ΔE00 4.87
Camo Green
#526525
ΔE00 5.08
Olive (survey)
#6E750E
ΔE00 5.32
Muddy Green
#657432
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C6A0F #1D0F6A
analogous
#6A4A0F #5C6A0F #2E6A0F
triadic
#5C6A0F #0F5C6A #6A0F5C
tetradic
#5C6A0F #0F6A4A #1D0F6A #6A0F2E
square
#5C6A0F #0F6A4A #1D0F6A #6A0F2E
split-complementary
#5C6A0F #0F2E6A #4A0F6A
monochromatic
#171B04 #2D3407 #5C6A0F #8BA017 #B9D51E
Accessibility & contrast
On white
5.96
#5C6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5C6A0F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C6A0F
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C6A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C6A0F | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726300
Deuteranopia (green-blind)
#706419
Tritanopia (blue-blind)
#62645A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5c6a0f; /* rgb */ color: rgb(92, 106, 15); /* oklch */ color: oklch(49.6% 0.110 118.7);
Tailwind
colors: {
custom: {
50: '#8d9458',
500: '#5c6a0f',
950: '#000000',
},
}SCSS
$custom: #5c6a0f; $custom-light: #8d9458; $custom-dark: #000000;
JSON
{
"hex": "#5c6a0f",
"rgb": {
"r": 92,
"g": 106,
"b": 15
},
"hsl": {
"h": 69.231,
"s": 75.207,
"l": 23.725
},
"oklch": {
"l": 0.49561,
"c": 0.10992,
"h": 118.7
},
"luminance": 0.12618
}Semantic roles & 50–950 ramp
primary
#5C6A0F
secondary
#4432A2
accent
#36F253
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79