#7F772A#7F772A
#7F772A is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.1% C 0.098 H 103.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7F772A |
|---|---|
| RGB | rgb(127, 119, 42) |
| HSL | hsl(54, 50%, 33%) |
| HSV | hsv(54, 67%, 50%) |
| CMYK | cmyk(0%, 6.3%, 66.9%, 50.2%) |
| CIE-LAB | lab(49.34, -6.91, 41.96) |
| CIE-LCH | lch(49.34, 42.53, 99.36°) |
| OKLab | oklab(56.09% -0.0226 0.0951) |
| OKLCH | oklch(56.09% 0.098 103.4) |
| XYZ | xyz(15.7678, 17.8735, 4.8094) |
| Luminance | 0.1787 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.20
Brown Green
#706C11
ΔE00 5.04
Browny Green
#6F6C0A
ΔE00 5.39
Olive (survey)
#6E750E
ΔE00 5.48
Olive Drab
#6F7632
ΔE00 5.53
Olive
#808000
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F772A #2A327F
analogous
#7F4C2A #7F772A #5C7F2A
triadic
#7F772A #2A7F77 #772A7F
tetradic
#7F772A #2A7F4C #2A327F #7F2A5C
square
#7F772A #2A7F4C #2A327F #7F2A5C
split-complementary
#7F772A #2A5C7F #4C2A7F
monochromatic
#23210C #514C1B #7F772A #ADA239 #C9BE5B
Accessibility & contrast
On white
4.59
#7F772A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#7F772A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F772A
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F772A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F772A | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827320
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#886F67
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7f772a; /* rgb */ color: rgb(127, 119, 42); /* oklch */ color: oklch(56.1% 0.098 103.4);
Tailwind
colors: {
custom: {
50: '#a79e68',
500: '#7f772a',
950: '#000000',
},
}SCSS
$custom: #7f772a; $custom-light: #a79e68; $custom-dark: #000000;
JSON
{
"hex": "#7f772a",
"rgb": {
"r": 127,
"g": 119,
"b": 42
},
"hsl": {
"h": 54.353,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.56092,
"c": 0.0977,
"h": 103.4
},
"luminance": 0.17873
}Semantic roles & 50–950 ramp
primary
#7F772A
secondary
#575FAE
accent
#5BDA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A