#7F7D12#7F7D12
#7F7D12 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.118 H 108.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7D12 |
|---|---|
| RGB | rgb(127, 125, 18) |
| HSL | hsl(59, 75%, 28%) |
| HSV | hsv(59, 86%, 50%) |
| CMYK | cmyk(0%, 1.6%, 85.8%, 50.2%) |
| CIE-LAB | lab(50.95, -11.37, 52.27) |
| CIE-LCH | lch(50.95, 53.49, 102.27°) |
| OKLab | oklab(57.33% -0.0375 0.1124) |
| OKLCH | oklch(57.33% 0.118 108.4) |
| XYZ | xyz(16.1959, 19.2235, 3.4295) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.65
Shit Green
#758000
ΔE00 3.61
Poop Green
#6F7C00
ΔE00 4.40
Olive (survey)
#6E750E
ΔE00 4.72
Ugly Brown
#7D7103
ΔE00 5.05
Murky Green
#6C7A0E
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7D12 #12147F
analogous
#7F4612 #7F7D12 #4A7F12
triadic
#7F7D12 #127F7D #7D127F
tetradic
#7F7D12 #127F46 #12147F #7F124A
square
#7F7D12 #127F46 #12147F #7F124A
split-complementary
#7F7D12 #124A7F #46127F
monochromatic
#1B1A04 #49480A #7F7D12 #B5B21A #E1DE2B
Accessibility & contrast
On white
4.33
#7F7D12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#7F7D12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7D12
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7D12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7D12 | 1.00 | 4.33 | 4.84 | 4.84 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7B1D
Tritanopia (blue-blind)
#89746A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7d12; /* rgb */ color: rgb(127, 125, 18); /* oklch */ color: oklch(57.3% 0.118 108.4);
Tailwind
colors: {
custom: {
50: '#a8a25d',
500: '#7f7d12',
950: '#000000',
},
}SCSS
$custom: #7f7d12; $custom-light: #a8a25d; $custom-dark: #000000;
JSON
{
"hex": "#7f7d12",
"rgb": {
"r": 127,
"g": 125,
"b": 18
},
"hsl": {
"h": 58.899,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.57325,
"c": 0.11846,
"h": 108.4
},
"luminance": 0.19223
}Semantic roles & 50–950 ramp
primary
#7F7D12
secondary
#383AB5
accent
#39F236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79