#7F7331#7F7331
#7F7331 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.088 H 99.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7331 |
|---|---|
| RGB | rgb(127, 115, 49) |
| HSL | hsl(51, 44%, 35%) |
| HSV | hsv(51, 61%, 50%) |
| CMYK | cmyk(0%, 9.4%, 61.4%, 50.2%) |
| CIE-LAB | lab(48.25, -4.15, 37.43) |
| CIE-LCH | lch(48.25, 37.66, 96.33°) |
| OKLab | oklab(55.25% -0.0138 0.0865) |
| OKLCH | oklch(55.25% 0.088 99.1) |
| XYZ | xyz(15.4381, 16.9959, 5.3725) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 5.11
Brown Green
#706C11
ΔE00 5.47
Hazel
#8E7618
ΔE00 5.84
Browny Green
#6F6C0A
ΔE00 6.00
Olive Drab
#6F7632
ΔE00 6.35
Drab
#828344
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7331 #313D7F
analogous
#7F4C31 #7F7331 #647F31
triadic
#7F7331 #317F73 #73317F
tetradic
#7F7331 #317F4C #313D7F #7F3164
square
#7F7331 #317F4C #313D7F #7F3164
split-complementary
#7F7331 #31647F #4C317F
monochromatic
#27230F #534B20 #7F7331 #AB9B42 #C4B666
Accessibility & contrast
On white
4.77
#7F7331 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7F7331 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7331
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7331 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D702A
Deuteranopia (green-blind)
#817434
Tritanopia (blue-blind)
#886B65
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f7331; /* rgb */ color: rgb(127, 115, 49); /* oklch */ color: oklch(55.3% 0.088 99.1);
Tailwind
colors: {
custom: {
50: '#a69b6c',
500: '#7f7331',
950: '#000000',
},
}SCSS
$custom: #7f7331; $custom-light: #a69b6c; $custom-dark: #000000;
JSON
{
"hex": "#7f7331",
"rgb": {
"r": 127,
"g": 115,
"b": 49
},
"hsl": {
"h": 50.769,
"s": 44.318,
"l": 34.51
},
"oklch": {
"l": 0.55251,
"c": 0.08758,
"h": 99.1
},
"luminance": 0.16995
}Semantic roles & 50–950 ramp
primary
#7F7331
secondary
#606CAB
accent
#67D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A