#7F761E#7F761E
#7F761E is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.106 H 103.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F761E |
|---|---|
| RGB | rgb(127, 118, 30) |
| HSL | hsl(54, 62%, 31%) |
| HSV | hsv(54, 76%, 50%) |
| CMYK | cmyk(0%, 7.1%, 76.4%, 50.2%) |
| CIE-LAB | lab(48.96, -7.04, 46.63) |
| CIE-LCH | lch(48.96, 47.15, 98.58°) |
| OKLab | oklab(55.76% -0.0243 0.1027) |
| OKLCH | oklch(55.76% 0.106 103.3) |
| XYZ | xyz(15.4659, 17.5633, 3.8034) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.73
Brown Green
#706C11
ΔE00 4.51
Browny Green
#6F6C0A
ΔE00 4.74
Olive
#808000
ΔE00 5.02
Hazel
#8E7618
ΔE00 5.13
Olive (survey)
#6E750E
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F761E #1E277F
analogous
#7F451E #7F761E #577F1E
triadic
#7F761E #1E7F76 #761E7F
tetradic
#7F761E #1E7F45 #1E277F #7F1E57
square
#7F761E #1E7F45 #1E277F #7F1E57
split-complementary
#7F761E #1E577F #451E7F
monochromatic
#1C1A07 #4D4812 #7F761E #B1A42A #D3C644
Accessibility & contrast
On white
4.65
#7F761E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7F761E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F761E
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F761E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F761E | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720D
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f761e; /* rgb */ color: rgb(127, 118, 30); /* oklch */ color: oklch(55.8% 0.106 103.3);
Tailwind
colors: {
custom: {
50: '#a79d61',
500: '#7f761e',
950: '#000000',
},
}SCSS
$custom: #7f761e; $custom-light: #a79d61; $custom-dark: #000000;
JSON
{
"hex": "#7f761e",
"rgb": {
"r": 127,
"g": 118,
"b": 30
},
"hsl": {
"h": 54.433,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.55761,
"c": 0.10551,
"h": 103.3
},
"luminance": 0.17563
}Semantic roles & 50–950 ramp
primary
#7F761E
secondary
#4751B2
accent
#52E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79