#7F7C14#7F7C14
#7F7C14 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.117 H 107.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7C14 |
|---|---|
| RGB | rgb(127, 124, 20) |
| HSL | hsl(58, 73%, 29%) |
| HSV | hsv(58, 84%, 50%) |
| CMYK | cmyk(0%, 2.4%, 84.3%, 50.2%) |
| CIE-LAB | lab(50.66, -10.76, 51.48) |
| CIE-LCH | lch(50.66, 52.59, 101.80°) |
| OKLab | oklab(57.1% -0.0356 0.1111) |
| OKLCH | oklch(57.1% 0.117 107.8) |
| XYZ | xyz(16.0870, 18.9784, 3.4775) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.08
Shit Green
#758000
ΔE00 3.96
Poop Green
#6F7C00
ΔE00 4.60
Olive (survey)
#6E750E
ΔE00 4.62
Ugly Brown
#7D7103
ΔE00 4.64
Murky Green
#6C7A0E
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7C14 #14177F
analogous
#7F4714 #7F7C14 #4D7F14
triadic
#7F7C14 #147F7C #7C147F
tetradic
#7F7C14 #147F47 #14177F #7F144D
square
#7F7C14 #147F47 #14177F #7F144D
split-complementary
#7F7C14 #144D7F #47147F
monochromatic
#1A1A04 #4A480C #7F7C14 #B4B01C #DED92F
Accessibility & contrast
On white
4.38
#7F7C14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7F7C14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7C14
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7C14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7C14 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#897369
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7c14; /* rgb */ color: rgb(127, 124, 20); /* oklch */ color: oklch(57.1% 0.117 107.8);
Tailwind
colors: {
custom: {
50: '#a8a15d',
500: '#7f7c14',
950: '#000000',
},
}SCSS
$custom: #7f7c14; $custom-light: #a8a15d; $custom-dark: #000000;
JSON
{
"hex": "#7f7c14",
"rgb": {
"r": 127,
"g": 124,
"b": 20
},
"hsl": {
"h": 58.318,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.57099,
"c": 0.11663,
"h": 107.8
},
"luminance": 0.18978
}Semantic roles & 50–950 ramp
primary
#7F7C14
secondary
#3B3EB4
accent
#3DEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79