#7F7214#7F7214
#7F7214 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.108 H 100.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7214 |
|---|---|
| RGB | rgb(127, 114, 20) |
| HSL | hsl(53, 73%, 29%) |
| HSV | hsv(53, 84%, 50%) |
| CMYK | cmyk(0%, 10.2%, 84.3%, 50.2%) |
| CIE-LAB | lab(47.75, -5.20, 48.97) |
| CIE-LCH | lch(47.75, 49.24, 96.06°) |
| OKLab | oklab(54.78% -0.0201 0.1056) |
| OKLCH | oklch(54.78% 0.108 100.8) |
| XYZ | xyz(14.8967, 16.5979, 3.0807) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.25
Brown Green
#706C11
ΔE00 4.21
Hazel
#8E7618
ΔE00 4.35
Browny Green
#6F6C0A
ΔE00 4.43
Poo
#8F7303
ΔE00 5.26
Baby Poop
#937C00
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7214 #14217F
analogous
#7F3D14 #7F7214 #577F14
triadic
#7F7214 #147F72 #72147F
tetradic
#7F7214 #147F3D #14217F #7F1457
square
#7F7214 #147F3D #14217F #7F1457
split-complementary
#7F7214 #14577F #3D147F
monochromatic
#1A1804 #4A430C #7F7214 #B4A11C #DEC92F
Accessibility & contrast
On white
4.86
#7F7214 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7F7214 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7214
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7214 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7214 | 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)
#7E6E00
Deuteranopia (green-blind)
#81731C
Tritanopia (blue-blind)
#8A6961
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7f7214; /* rgb */ color: rgb(127, 114, 20); /* oklch */ color: oklch(54.8% 0.108 100.8);
Tailwind
colors: {
custom: {
50: '#a89a5c',
500: '#7f7214',
950: '#000000',
},
}SCSS
$custom: #7f7214; $custom-light: #a89a5c; $custom-dark: #000000;
JSON
{
"hex": "#7f7214",
"rgb": {
"r": 127,
"g": 114,
"b": 20
},
"hsl": {
"h": 52.71,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.5478,
"c": 0.10751,
"h": 100.8
},
"luminance": 0.16597
}Semantic roles & 50–950 ramp
primary
#7F7214
secondary
#3B49B4
accent
#4FEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79