#7F7C19#7F7C19
#7F7C19 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.114 H 107.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7C19 |
|---|---|
| RGB | rgb(127, 124, 25) |
| HSL | hsl(58, 67%, 30%) |
| HSV | hsv(58, 80%, 50%) |
| CMYK | cmyk(0%, 2.4%, 80.3%, 50.2%) |
| CIE-LAB | lab(50.69, -10.58, 49.98) |
| CIE-LCH | lch(50.69, 51.09, 101.95°) |
| OKLab | oklab(57.13% -0.0347 0.1088) |
| OKLCH | oklch(57.13% 0.114 107.7) |
| XYZ | xyz(16.1362, 18.9981, 3.7365) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.41
Shit Green
#758000
ΔE00 4.07
Olive (survey)
#6E750E
ΔE00 4.57
Poop Green
#6F7C00
ΔE00 4.65
Ugly Brown
#7D7103
ΔE00 4.72
Murky Green
#6C7A0E
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7C19 #191C7F
analogous
#7F4919 #7F7C19 #4F7F19
triadic
#7F7C19 #197F7C #7C197F
tetradic
#7F7C19 #197F49 #191C7F #7F194F
square
#7F7C19 #197F49 #191C7F #7F194F
split-complementary
#7F7C19 #194F7F #49197F
monochromatic
#1A1905 #4C4A0F #7F7C19 #B2AE23 #D8D43A
Accessibility & contrast
On white
4.38
#7F7C19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7F7C19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7C19
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7C19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7C19 | 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)
#897A21
Tritanopia (blue-blind)
#89736A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7c19; /* rgb */ color: rgb(127, 124, 25); /* oklch */ color: oklch(57.1% 0.114 107.7);
Tailwind
colors: {
custom: {
50: '#a7a15f',
500: '#7f7c19',
950: '#000000',
},
}SCSS
$custom: #7f7c19; $custom-light: #a7a15f; $custom-dark: #000000;
JSON
{
"hex": "#7f7c19",
"rgb": {
"r": 127,
"g": 124,
"b": 25
},
"hsl": {
"h": 58.235,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.57125,
"c": 0.11422,
"h": 107.7
},
"luminance": 0.18998
}Semantic roles & 50–950 ramp
primary
#7F7C19
secondary
#4144B3
accent
#43EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79