#7F7D18#7F7D18
#7F7D18 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.4% C 0.116 H 108.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7D18 |
|---|---|
| RGB | rgb(127, 125, 24) |
| HSL | hsl(59, 68%, 30%) |
| HSV | hsv(59, 81%, 50%) |
| CMYK | cmyk(0%, 1.6%, 81.1%, 50.2%) |
| CIE-LAB | lab(50.97, -11.16, 50.56) |
| CIE-LCH | lch(50.97, 51.78, 102.45°) |
| OKLab | oklab(57.35% -0.0365 0.1099) |
| OKLCH | oklch(57.35% 0.116 108.4) |
| XYZ | xyz(16.2515, 19.2457, 3.7227) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.05
Shit Green
#758000
ΔE00 3.71
Poop Green
#6F7C00
ΔE00 4.44
Olive (survey)
#6E750E
ΔE00 4.64
Murky Green
#6C7A0E
ΔE00 5.09
Ugly Brown
#7D7103
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7D18 #181A7F
analogous
#7F4A18 #7F7D18 #4E7F18
triadic
#7F7D18 #187F7D #7D187F
tetradic
#7F7D18 #187F4A #181A7F #7F184E
square
#7F7D18 #187F4A #181A7F #7F184E
split-complementary
#7F7D18 #184E7F #4A187F
monochromatic
#1A1905 #4C4A0E #7F7D18 #B2B022 #D9D638
Accessibility & contrast
On white
4.33
#7F7D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7F7D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7D18
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7D18 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#89746A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7d18; /* rgb */ color: rgb(127, 125, 24); /* oklch */ color: oklch(57.4% 0.116 108.4);
Tailwind
colors: {
custom: {
50: '#a8a25f',
500: '#7f7d18',
950: '#000000',
},
}SCSS
$custom: #7f7d18; $custom-light: #a8a25f; $custom-dark: #000000;
JSON
{
"hex": "#7f7d18",
"rgb": {
"r": 127,
"g": 125,
"b": 24
},
"hsl": {
"h": 58.835,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.57353,
"c": 0.11574,
"h": 108.4
},
"luminance": 0.19245
}Semantic roles & 50–950 ramp
primary
#7F7D18
secondary
#3F42B3
accent
#40EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79