#7F7724#7F7724
#7F7724 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.102 H 103.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7724 |
|---|---|
| RGB | rgb(127, 119, 36) |
| HSL | hsl(55, 56%, 32%) |
| HSV | hsv(55, 72%, 50%) |
| CMYK | cmyk(0%, 6.3%, 71.7%, 50.2%) |
| CIE-LAB | lab(49.29, -7.28, 44.54) |
| CIE-LCH | lch(49.29, 45.13, 99.29°) |
| OKLab | oklab(56.04% -0.0243 0.0994) |
| OKLCH | oklch(56.04% 0.102 103.8) |
| XYZ | xyz(15.6683, 17.8337, 4.2856) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.53
Brown Green
#706C11
ΔE00 4.79
Browny Green
#6F6C0A
ΔE00 5.06
Olive
#808000
ΔE00 5.10
Olive (survey)
#6E750E
ΔE00 5.14
Hazel
#8E7618
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7724 #242C7F
analogous
#7F4A24 #7F7724 #5A7F24
triadic
#7F7724 #247F77 #77247F
tetradic
#7F7724 #247F4A #242C7F #7F245A
square
#7F7724 #247F4A #242C7F #7F245A
split-complementary
#7F7724 #245A7F #4A247F
monochromatic
#201E09 #4F4A16 #7F7724 #AFA432 #CDC250
Accessibility & contrast
On white
4.60
#7F7724 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#7F7724 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7724
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7724 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7724 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827318
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#896F66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7f7724; /* rgb */ color: rgb(127, 119, 36); /* oklch */ color: oklch(56.0% 0.102 103.8);
Tailwind
colors: {
custom: {
50: '#a79e64',
500: '#7f7724',
950: '#000000',
},
}SCSS
$custom: #7f7724; $custom-light: #a79e64; $custom-dark: #000000;
JSON
{
"hex": "#7f7724",
"rgb": {
"r": 127,
"g": 119,
"b": 36
},
"hsl": {
"h": 54.725,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.56038,
"c": 0.10238,
"h": 103.8
},
"luminance": 0.17833
}Semantic roles & 50–950 ramp
primary
#7F7724
secondary
#4E56B1
accent
#56DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A