#7F7828#7F7828
#7F7828 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.100 H 104.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7828 |
|---|---|
| RGB | rgb(127, 120, 40) |
| HSL | hsl(55, 52%, 33%) |
| HSV | hsv(55, 69%, 50%) |
| CMYK | cmyk(0%, 5.5%, 68.5%, 50.2%) |
| CIE-LAB | lab(49.62, -7.60, 43.15) |
| CIE-LCH | lch(49.62, 43.81, 99.99°) |
| OKLab | oklab(56.3% -0.0248 0.0972) |
| OKLCH | oklch(56.3% 0.1 104.3) |
| XYZ | xyz(15.8525, 18.0988, 4.6654) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.19
Brown Green
#706C11
ΔE00 5.13
Olive
#808000
ΔE00 5.15
Olive (survey)
#6E750E
ΔE00 5.15
Browny Green
#6F6C0A
ΔE00 5.42
Olive Drab
#6F7632
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7828 #282F7F
analogous
#7F4C28 #7F7828 #5B7F28
triadic
#7F7828 #287F78 #78287F
tetradic
#7F7828 #287F4C #282F7F #7F285B
square
#7F7828 #287F4C #282F7F #7F285B
split-complementary
#7F7828 #285B7F #4C287F
monochromatic
#22200B #504C19 #7F7828 #AEA437 #CAC157
Accessibility & contrast
On white
4.55
#7F7828 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7F7828 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7828
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7828 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#897068
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f7828; /* rgb */ color: rgb(127, 120, 40); /* oklch */ color: oklch(56.3% 0.100 104.3);
Tailwind
colors: {
custom: {
50: '#a79e67',
500: '#7f7828',
950: '#000000',
},
}SCSS
$custom: #7f7828; $custom-light: #a79e67; $custom-dark: #000000;
JSON
{
"hex": "#7f7828",
"rgb": {
"r": 127,
"g": 120,
"b": 40
},
"hsl": {
"h": 55.172,
"s": 52.096,
"l": 32.745
},
"oklch": {
"l": 0.56304,
"c": 0.10032,
"h": 104.3
},
"luminance": 0.18098
}Semantic roles & 50–950 ramp
primary
#7F7828
secondary
#545BAF
accent
#58DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A