#7F7919#7F7919
#7F7919 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.111 H 105.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7919 |
|---|---|
| RGB | rgb(127, 121, 25) |
| HSL | hsl(56, 67%, 30%) |
| HSV | hsv(56, 80%, 50%) |
| CMYK | cmyk(0%, 4.7%, 80.3%, 50.2%) |
| CIE-LAB | lab(49.81, -8.93, 49.19) |
| CIE-LCH | lch(49.81, 49.99, 100.29°) |
| OKLab | oklab(56.43% -0.0301 0.1071) |
| OKLCH | oklch(56.43% 0.111 105.7) |
| XYZ | xyz(15.7659, 18.2576, 3.6131) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.48
Ugly Brown
#7D7103
ΔE00 3.49
Olive (survey)
#6E750E
ΔE00 4.64
Shit Green
#758000
ΔE00 5.19
Brown Green
#706C11
ΔE00 5.24
Browny Green
#6F6C0A
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7919 #191F7F
analogous
#7F4619 #7F7919 #527F19
triadic
#7F7919 #197F79 #79197F
tetradic
#7F7919 #197F46 #191F7F #7F1952
square
#7F7919 #197F46 #191F7F #7F1952
split-complementary
#7F7919 #19527F #46197F
monochromatic
#1A1805 #4C480F #7F7919 #B2AA23 #D8CF3A
Accessibility & contrast
On white
4.51
#7F7919 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7F7919 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7919
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7919 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7919 | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#897067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f7919; /* rgb */ color: rgb(127, 121, 25); /* oklch */ color: oklch(56.4% 0.111 105.7);
Tailwind
colors: {
custom: {
50: '#a89f5f',
500: '#7f7919',
950: '#000000',
},
}SCSS
$custom: #7f7919; $custom-light: #a89f5f; $custom-dark: #000000;
JSON
{
"hex": "#7f7919",
"rgb": {
"r": 127,
"g": 121,
"b": 25
},
"hsl": {
"h": 56.471,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.56425,
"c": 0.11127,
"h": 105.7
},
"luminance": 0.18257
}Semantic roles & 50–950 ramp
primary
#7F7919
secondary
#4147B3
accent
#48EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79