#7C8A33#7C8A33
#7C8A33 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.4% C 0.113 H 117.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A33 |
|---|---|
| RGB | rgb(124, 138, 51) |
| HSL | hsl(70, 46%, 37%) |
| HSV | hsv(70, 63%, 54%) |
| CMYK | cmyk(10.1%, 0%, 63%, 45.9%) |
| CIE-LAB | lab(54.76, -17.89, 43.58) |
| CIE-LCH | lch(54.76, 47.11, 112.32°) |
| OKLab | oklab(60.39% -0.0523 0.0999) |
| OKLCH | oklch(60.39% 0.113 117.6) |
| XYZ | xyz(17.9985, 22.7012, 6.5649) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.17
Camo
#7F8F4E
ΔE00 4.63
Swamp Green
#748500
ΔE00 4.63
Olivedrab
#6B8E23
ΔE00 4.76
Dark Yellow Green
#728F02
ΔE00 5.10
Drab
#828344
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A33 #41338A
analogous
#8A6D33 #7C8A33 #518A33
triadic
#7C8A33 #337C8A #8A337C
tetradic
#7C8A33 #338A6D #41338A #8A3351
square
#7C8A33 #338A6D #41338A #8A3351
split-complementary
#7C8A33 #33518A #6D338A
monochromatic
#2C3112 #545D22 #7C8A33 #A4B744 #BBC96E
Accessibility & contrast
On white
3.79
#7C8A33 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#7C8A33 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A33
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A33 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938329
Deuteranopia (green-blind)
#918439
Tritanopia (blue-blind)
#838378
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7c8a33; /* rgb */ color: rgb(124, 138, 51); /* oklch */ color: oklch(60.4% 0.113 117.6);
Tailwind
colors: {
custom: {
50: '#a4ac6f',
500: '#7c8a33',
950: '#000000',
},
}SCSS
$custom: #7c8a33; $custom-light: #a4ac6f; $custom-dark: #000000;
JSON
{
"hex": "#7c8a33",
"rgb": {
"r": 124,
"g": 138,
"b": 51
},
"hsl": {
"h": 69.655,
"s": 46.032,
"l": 37.059
},
"oklch": {
"l": 0.60387,
"c": 0.1128,
"h": 117.6
},
"luminance": 0.22701
}Semantic roles & 50–950 ramp
primary
#7C8A33
secondary
#7367B1
accent
#52D667
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A