#7F752F#7F752F
#7F752F is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.7% C 0.091 H 101.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7F752F |
|---|---|
| RGB | rgb(127, 117, 47) |
| HSL | hsl(53, 46%, 34%) |
| HSV | hsv(53, 63%, 50%) |
| CMYK | cmyk(0%, 7.9%, 63%, 50.2%) |
| CIE-LAB | lab(48.81, -5.44, 39.03) |
| CIE-LCH | lch(48.81, 39.41, 97.93°) |
| OKLab | oklab(55.68% -0.0178 0.0896) |
| OKLCH | oklch(55.68% 0.091 101.2) |
| XYZ | xyz(15.6274, 17.4405, 5.2320) |
| Luminance | 0.1744 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.71
Brown Green
#706C11
ΔE00 5.21
Browny Green
#6F6C0A
ΔE00 5.68
Olive Drab
#6F7632
ΔE00 5.75
Hazel
#8E7618
ΔE00 5.80
Drab
#828344
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F752F #2F397F
analogous
#7F4D2F #7F752F #617F2F
triadic
#7F752F #2F7F75 #752F7F
tetradic
#7F752F #2F7F4D #2F397F #7F2F61
square
#7F752F #2F7F4D #2F397F #7F2F61
split-complementary
#7F752F #2F617F #4D2F7F
monochromatic
#26230E #524C1E #7F752F #AC9E40 #C5B963
Accessibility & contrast
On white
4.68
#7F752F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#7F752F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F752F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F752F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F752F | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7227
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#886D66
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f752f; /* rgb */ color: rgb(127, 117, 47); /* oklch */ color: oklch(55.7% 0.091 101.2);
Tailwind
colors: {
custom: {
50: '#a69c6b',
500: '#7f752f',
950: '#000000',
},
}SCSS
$custom: #7f752f; $custom-light: #a69c6b; $custom-dark: #000000;
JSON
{
"hex": "#7f752f",
"rgb": {
"r": 127,
"g": 117,
"b": 47
},
"hsl": {
"h": 52.5,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.55685,
"c": 0.09136,
"h": 101.2
},
"luminance": 0.1744
}Semantic roles & 50–950 ramp
primary
#7F752F
secondary
#5E67AC
accent
#63D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A