#7F7219#7F7219
#7F7219 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.105 H 100.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7219 |
|---|---|
| RGB | rgb(127, 114, 25) |
| HSL | hsl(52, 67%, 30%) |
| HSV | hsv(52, 80%, 50%) |
| CMYK | cmyk(0%, 10.2%, 80.3%, 50.2%) |
| CIE-LAB | lab(47.77, -5.01, 47.35) |
| CIE-LCH | lch(47.77, 47.61, 96.04°) |
| OKLab | oklab(54.81% -0.0191 0.1032) |
| OKLCH | oklch(54.81% 0.105 100.5) |
| XYZ | xyz(14.9459, 16.6176, 3.3398) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.72
Brown Green
#706C11
ΔE00 4.17
Hazel
#8E7618
ΔE00 4.38
Browny Green
#6F6C0A
ΔE00 4.46
Poo
#8F7303
ΔE00 5.39
Brownish Green
#6A6E09
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7219 #19267F
analogous
#7F3F19 #7F7219 #597F19
triadic
#7F7219 #197F72 #72197F
tetradic
#7F7219 #197F3F #19267F #7F1959
square
#7F7219 #197F3F #19267F #7F1959
split-complementary
#7F7219 #19597F #3F197F
monochromatic
#1A1705 #4C440F #7F7219 #B2A023 #D8C43A
Accessibility & contrast
On white
4.86
#7F7219 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7F7219 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7219
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7219 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7219 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#817420
Tritanopia (blue-blind)
#896961
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7f7219; /* rgb */ color: rgb(127, 114, 25); /* oklch */ color: oklch(54.8% 0.105 100.5);
Tailwind
colors: {
custom: {
50: '#a89a5e',
500: '#7f7219',
950: '#000000',
},
}SCSS
$custom: #7f7219; $custom-light: #a89a5e; $custom-dark: #000000;
JSON
{
"hex": "#7f7219",
"rgb": {
"r": 127,
"g": 114,
"b": 25
},
"hsl": {
"h": 52.353,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.54808,
"c": 0.10494,
"h": 100.5
},
"luminance": 0.16617
}Semantic roles & 50–950 ramp
primary
#7F7219
secondary
#414FB3
accent
#54EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79