#7D7F12#7D7F12
#7D7F12 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.121 H 110.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7F12 |
|---|---|
| RGB | rgb(125, 127, 18) |
| HSL | hsl(61, 75%, 28%) |
| HSV | hsv(61, 86%, 50%) |
| CMYK | cmyk(1.6%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(51.36, -13.38, 52.54) |
| CIE-LCH | lch(51.36, 54.22, 104.29°) |
| OKLab | oklab(57.61% -0.043 0.1131) |
| OKLCH | oklch(57.61% 0.121 110.8) |
| XYZ | xyz(16.1566, 19.5829, 3.5009) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.49
Shit Green
#758000
ΔE00 2.48
Poop Green
#6F7C00
ΔE00 3.56
Swamp Green
#748500
ΔE00 4.08
Murky Green
#6C7A0E
ΔE00 4.46
Olive (survey)
#6E750E
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7F12 #14127F
analogous
#7F4A12 #7D7F12 #467F12
triadic
#7D7F12 #127D7F #7F127D
tetradic
#7D7F12 #127F4A #14127F #7F1246
square
#7D7F12 #127F4A #14127F #7F1246
split-complementary
#7D7F12 #12467F #4A127F
monochromatic
#1A1B04 #48490A #7D7F12 #B2B51A #DEE12B
Accessibility & contrast
On white
4.27
#7D7F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#7D7F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7F12
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7F12 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C1D
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7d7f12; /* rgb */ color: rgb(125, 127, 18); /* oklch */ color: oklch(57.6% 0.121 110.8);
Tailwind
colors: {
custom: {
50: '#a6a35d',
500: '#7d7f12',
950: '#000000',
},
}SCSS
$custom: #7d7f12; $custom-light: #a6a35d; $custom-dark: #000000;
JSON
{
"hex": "#7d7f12",
"rgb": {
"r": 125,
"g": 127,
"b": 18
},
"hsl": {
"h": 61.101,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.57613,
"c": 0.12097,
"h": 110.8
},
"luminance": 0.19582
}Semantic roles & 50–950 ramp
primary
#7D7F12
secondary
#3A38B5
accent
#36F239
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79