#7F781E#7F781E
#7F781E is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.2% C 0.107 H 104.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7F781E |
|---|---|
| RGB | rgb(127, 120, 30) |
| HSL | hsl(56, 62%, 31%) |
| HSV | hsv(56, 76%, 50%) |
| CMYK | cmyk(0%, 5.5%, 76.4%, 50.2%) |
| CIE-LAB | lab(49.54, -8.15, 47.18) |
| CIE-LCH | lch(49.54, 47.88, 99.80°) |
| OKLab | oklab(56.22% -0.0275 0.1038) |
| OKLCH | oklch(56.22% 0.107 104.8) |
| XYZ | xyz(15.7039, 18.0393, 3.8828) |
| Luminance | 0.1804 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.35
Olive
#808000
ΔE00 4.21
Olive (survey)
#6E750E
ΔE00 4.79
Brown Green
#706C11
ΔE00 4.94
Browny Green
#6F6C0A
ΔE00 5.10
Hazel
#8E7618
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F781E #1E257F
analogous
#7F471E #7F781E #557F1E
triadic
#7F781E #1E7F78 #781E7F
tetradic
#7F781E #1E7F47 #1E257F #7F1E55
square
#7F781E #1E7F47 #1E257F #7F1E55
split-complementary
#7F781E #1E557F #471E7F
monochromatic
#1C1A07 #4D4912 #7F781E #B1A72A #D3C944
Accessibility & contrast
On white
4.56
#7F781E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7F781E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F781E
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F781E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F781E | 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)
#83740C
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#896F67
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f781e; /* rgb */ color: rgb(127, 120, 30); /* oklch */ color: oklch(56.2% 0.107 104.8);
Tailwind
colors: {
custom: {
50: '#a79e61',
500: '#7f781e',
950: '#000000',
},
}SCSS
$custom: #7f781e; $custom-light: #a79e61; $custom-dark: #000000;
JSON
{
"hex": "#7f781e",
"rgb": {
"r": 127,
"g": 120,
"b": 30
},
"hsl": {
"h": 55.67,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.56224,
"c": 0.10741,
"h": 104.8
},
"luminance": 0.18039
}Semantic roles & 50–950 ramp
primary
#7F781E
secondary
#474EB2
accent
#4FE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A