#7F7B19#7F7B19
#7F7B19 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.113 H 107.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7B19 |
|---|---|
| RGB | rgb(127, 123, 25) |
| HSL | hsl(58, 67%, 30%) |
| HSV | hsv(58, 80%, 50%) |
| CMYK | cmyk(0%, 3.1%, 80.3%, 50.2%) |
| CIE-LAB | lab(50.39, -10.03, 49.72) |
| CIE-LCH | lch(50.39, 50.72, 101.40°) |
| OKLab | oklab(56.89% -0.0332 0.1083) |
| OKLCH | oklch(56.89% 0.113 107.1) |
| XYZ | xyz(16.0115, 18.7487, 3.6950) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.74
Ugly Brown
#7D7103
ΔE00 4.31
Shit Green
#758000
ΔE00 4.42
Olive (survey)
#6E750E
ΔE00 4.54
Poop Green
#6F7C00
ΔE00 4.89
Murky Green
#6C7A0E
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7B19 #191D7F
analogous
#7F4819 #7F7B19 #507F19
triadic
#7F7B19 #197F7B #7B197F
tetradic
#7F7B19 #197F48 #191D7F #7F1950
square
#7F7B19 #197F48 #191D7F #7F1950
split-complementary
#7F7B19 #19507F #48197F
monochromatic
#1A1905 #4C490F #7F7B19 #B2AD23 #D8D23A
Accessibility & contrast
On white
4.42
#7F7B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7F7B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7B19
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7B19 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#887A21
Tritanopia (blue-blind)
#897269
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7f7b19; /* rgb */ color: rgb(127, 123, 25); /* oklch */ color: oklch(56.9% 0.113 107.1);
Tailwind
colors: {
custom: {
50: '#a7a05f',
500: '#7f7b19',
950: '#000000',
},
}SCSS
$custom: #7f7b19; $custom-light: #a7a05f; $custom-dark: #000000;
JSON
{
"hex": "#7f7b19",
"rgb": {
"r": 127,
"g": 123,
"b": 25
},
"hsl": {
"h": 57.647,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.56891,
"c": 0.11323,
"h": 107.1
},
"luminance": 0.18748
}Semantic roles & 50–950 ramp
primary
#7F7B19
secondary
#4145B3
accent
#45EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79