#7F761D#7F761D
#7F761D is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.106 H 103.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F761D |
|---|---|
| RGB | rgb(127, 118, 29) |
| HSL | hsl(54, 63%, 31%) |
| HSV | hsv(54, 77%, 50%) |
| CMYK | cmyk(0%, 7.1%, 77.2%, 50.2%) |
| CIE-LAB | lab(48.96, -7.09, 47.00) |
| CIE-LCH | lch(48.96, 47.53, 98.57°) |
| OKLab | oklab(55.75% -0.0246 0.1033) |
| OKLCH | oklch(55.75% 0.106 103.4) |
| XYZ | xyz(15.4533, 17.5583, 3.7372) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.65
Brown Green
#706C11
ΔE00 4.51
Browny Green
#6F6C0A
ΔE00 4.72
Olive
#808000
ΔE00 4.95
Hazel
#8E7618
ΔE00 5.11
Olive (survey)
#6E750E
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F761D #1D267F
analogous
#7F451D #7F761D #577F1D
triadic
#7F761D #1D7F76 #761D7F
tetradic
#7F761D #1D7F45 #1D267F #7F1D57
square
#7F761D #1D7F45 #1D267F #7F1D57
split-complementary
#7F761D #1D577F #451D7F
monochromatic
#1B1906 #4D4812 #7F761D #B1A428 #D4C742
Accessibility & contrast
On white
4.65
#7F761D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7F761D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F761D
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F761D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F761D | 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)
#81720B
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f761d; /* rgb */ color: rgb(127, 118, 29); /* oklch */ color: oklch(55.8% 0.106 103.4);
Tailwind
colors: {
custom: {
50: '#a79d60',
500: '#7f761d',
950: '#000000',
},
}SCSS
$custom: #7f761d; $custom-light: #a79d60; $custom-dark: #000000;
JSON
{
"hex": "#7f761d",
"rgb": {
"r": 127,
"g": 118,
"b": 29
},
"hsl": {
"h": 54.49,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.55754,
"c": 0.10614,
"h": 103.4
},
"luminance": 0.17558
}Semantic roles & 50–950 ramp
primary
#7F761D
secondary
#454FB2
accent
#51E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79