#7F781D#7F781D
#7F781D is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.2% C 0.108 H 104.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7F781D |
|---|---|
| RGB | rgb(127, 120, 29) |
| HSL | hsl(56, 63%, 31%) |
| HSV | hsv(56, 77%, 50%) |
| CMYK | cmyk(0%, 5.5%, 77.2%, 50.2%) |
| CIE-LAB | lab(49.54, -8.20, 47.54) |
| CIE-LCH | lch(49.54, 48.24, 99.79°) |
| OKLab | oklab(56.22% -0.0277 0.1044) |
| OKLCH | oklch(56.22% 0.108 104.9) |
| XYZ | xyz(15.6913, 18.0343, 3.8166) |
| Luminance | 0.1803 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.29
Olive
#808000
ΔE00 4.13
Olive (survey)
#6E750E
ΔE00 4.78
Brown Green
#706C11
ΔE00 4.94
Browny Green
#6F6C0A
ΔE00 5.09
Hazel
#8E7618
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F781D #1D247F
analogous
#7F471D #7F781D #557F1D
triadic
#7F781D #1D7F78 #781D7F
tetradic
#7F781D #1D7F47 #1D247F #7F1D55
square
#7F781D #1D7F47 #1D247F #7F1D55
split-complementary
#7F781D #1D557F #471D7F
monochromatic
#1B1A06 #4D4912 #7F781D #B1A728 #D4CA42
Accessibility & contrast
On white
4.56
#7F781D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7F781D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F781D
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F781D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F781D | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83740A
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#896F67
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f781d; /* rgb */ color: rgb(127, 120, 29); /* oklch */ color: oklch(56.2% 0.108 104.9);
Tailwind
colors: {
custom: {
50: '#a79e61',
500: '#7f781d',
950: '#000000',
},
}SCSS
$custom: #7f781d; $custom-light: #a79e61; $custom-dark: #000000;
JSON
{
"hex": "#7f781d",
"rgb": {
"r": 127,
"g": 120,
"b": 29
},
"hsl": {
"h": 55.714,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.56217,
"c": 0.10803,
"h": 104.9
},
"luminance": 0.18034
}Semantic roles & 50–950 ramp
primary
#7F781D
secondary
#454DB2
accent
#4EE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79