#7F7D13#7F7D13
#7F7D13 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.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7D13 |
|---|---|
| RGB | rgb(127, 125, 19) |
| HSL | hsl(59, 74%, 29%) |
| HSV | hsv(59, 85%, 50%) |
| CMYK | cmyk(0%, 1.6%, 85%, 50.2%) |
| CIE-LAB | lab(50.95, -11.34, 52.00) |
| CIE-LCH | lch(50.95, 53.22, 102.30°) |
| OKLab | oklab(57.33% -0.0373 0.112) |
| OKLCH | oklch(57.33% 0.118 108.4) |
| XYZ | xyz(16.2042, 19.2268, 3.4735) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.70
Shit Green
#758000
ΔE00 3.62
Poop Green
#6F7C00
ΔE00 4.40
Olive (survey)
#6E750E
ΔE00 4.71
Ugly Brown
#7D7103
ΔE00 5.06
Murky Green
#6C7A0E
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7D13 #13157F
analogous
#7F4713 #7F7D13 #4B7F13
triadic
#7F7D13 #137F7D #7D137F
tetradic
#7F7D13 #137F47 #13157F #7F134B
square
#7F7D13 #137F47 #13157F #7F134B
split-complementary
#7F7D13 #134B7F #47137F
monochromatic
#1B1A04 #4A490B #7F7D13 #B4B11B #E0DC2D
Accessibility & contrast
On white
4.33
#7F7D13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7F7D13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7D13
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7D13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7D13 | 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)
#8A7B1D
Tritanopia (blue-blind)
#89746A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7d13; /* rgb */ color: rgb(127, 125, 19); /* oklch */ color: oklch(57.3% 0.118 108.4);
Tailwind
colors: {
custom: {
50: '#a8a25d',
500: '#7f7d13',
950: '#000000',
},
}SCSS
$custom: #7f7d13; $custom-light: #a8a25d; $custom-dark: #000000;
JSON
{
"hex": "#7f7d13",
"rgb": {
"r": 127,
"g": 125,
"b": 19
},
"hsl": {
"h": 58.889,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.57329,
"c": 0.11805,
"h": 108.4
},
"luminance": 0.19226
}Semantic roles & 50–950 ramp
primary
#7F7D13
secondary
#393CB4
accent
#3BF137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79