#7F7A18#7F7A18
#7F7A18 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.7% C 0.113 H 106.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7A18 |
|---|---|
| RGB | rgb(127, 122, 24) |
| HSL | hsl(57, 68%, 30%) |
| HSV | hsv(57, 81%, 50%) |
| CMYK | cmyk(0%, 3.9%, 81.1%, 50.2%) |
| CIE-LAB | lab(50.09, -9.52, 49.78) |
| CIE-LCH | lch(50.09, 50.68, 100.83°) |
| OKLab | oklab(56.65% -0.0319 0.1082) |
| OKLCH | oklch(56.65% 0.113 106.4) |
| XYZ | xyz(15.8775, 18.4976, 3.5980) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.04
Ugly Brown
#7D7103
ΔE00 3.87
Olive (survey)
#6E750E
ΔE00 4.57
Shit Green
#758000
ΔE00 4.77
Poop Green
#6F7C00
ΔE00 5.14
Brown Green
#706C11
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7A18 #181D7F
analogous
#7F4618 #7F7A18 #517F18
triadic
#7F7A18 #187F7A #7A187F
tetradic
#7F7A18 #187F46 #181D7F #7F1851
square
#7F7A18 #187F46 #181D7F #7F1851
split-complementary
#7F7A18 #18517F #46187F
monochromatic
#1A1905 #4C490E #7F7A18 #B2AB22 #D9D238
Accessibility & contrast
On white
4.47
#7F7A18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7F7A18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7A18
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7A18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7A18 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#877920
Tritanopia (blue-blind)
#897168
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f7a18; /* rgb */ color: rgb(127, 122, 24); /* oklch */ color: oklch(56.7% 0.113 106.4);
Tailwind
colors: {
custom: {
50: '#a8a05f',
500: '#7f7a18',
950: '#000000',
},
}SCSS
$custom: #7f7a18; $custom-light: #a8a05f; $custom-dark: #000000;
JSON
{
"hex": "#7f7a18",
"rgb": {
"r": 127,
"g": 122,
"b": 24
},
"hsl": {
"h": 57.087,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.56652,
"c": 0.11276,
"h": 106.4
},
"luminance": 0.18497
}Semantic roles & 50–950 ramp
primary
#7F7A18
secondary
#3F45B3
accent
#45EB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79