#7F7E18#7F7E18
#7F7E18 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.117 H 109.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7E18 |
|---|---|
| RGB | rgb(127, 126, 24) |
| HSL | hsl(59, 68%, 30%) |
| HSV | hsv(59, 81%, 50%) |
| CMYK | cmyk(0%, 0.8%, 81.1%, 50.2%) |
| CIE-LAB | lab(51.27, -11.71, 50.82) |
| CIE-LCH | lch(51.27, 52.15, 102.97°) |
| OKLab | oklab(57.59% -0.038 0.1104) |
| OKLCH | oklch(57.59% 0.117 109) |
| XYZ | xyz(16.3788, 19.5002, 3.7651) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.82
Shit Green
#758000
ΔE00 3.41
Poop Green
#6F7C00
ΔE00 4.28
Olive (survey)
#6E750E
ΔE00 4.75
Murky Green
#6C7A0E
ΔE00 4.99
Swamp Green
#748500
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7E18 #18197F
analogous
#7F4A18 #7F7E18 #4D7F18
triadic
#7F7E18 #187F7E #7E187F
tetradic
#7F7E18 #187F4A #18197F #7F184D
square
#7F7E18 #187F4A #18197F #7F184D
split-complementary
#7F7E18 #184D7F #4A187F
monochromatic
#1A1A05 #4C4B0E #7F7E18 #B2B122 #D9D838
Accessibility & contrast
On white
4.29
#7F7E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7F7E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7E18
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7E18 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7C21
Tritanopia (blue-blind)
#89756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7f7e18; /* rgb */ color: rgb(127, 126, 24); /* oklch */ color: oklch(57.6% 0.117 109.0);
Tailwind
colors: {
custom: {
50: '#a8a35f',
500: '#7f7e18',
950: '#000000',
},
}SCSS
$custom: #7f7e18; $custom-light: #a8a35f; $custom-dark: #000000;
JSON
{
"hex": "#7f7e18",
"rgb": {
"r": 127,
"g": 126,
"b": 24
},
"hsl": {
"h": 59.417,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.57588,
"c": 0.11675,
"h": 109
},
"luminance": 0.195
}Semantic roles & 50–950 ramp
primary
#7F7E18
secondary
#3F41B3
accent
#3EEB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79