#7F7E27#7F7E27
#7F7E27 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.107 H 108.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7E27 |
|---|---|
| RGB | rgb(127, 126, 39) |
| HSL | hsl(59, 53%, 33%) |
| HSV | hsv(59, 69%, 50%) |
| CMYK | cmyk(0%, 0.8%, 69.3%, 50.2%) |
| CIE-LAB | lab(51.36, -10.97, 45.36) |
| CIE-LCH | lch(51.36, 46.67, 103.60°) |
| OKLab | oklab(57.69% -0.0344 0.1017) |
| OKLCH | oklch(57.69% 0.107 108.7) |
| XYZ | xyz(16.5800, 19.5807, 4.8251) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.48
Shit Green
#758000
ΔE00 4.28
Drab
#828344
ΔE00 4.72
Poop Green
#6F7C00
ΔE00 4.85
Olive (survey)
#6E750E
ΔE00 4.91
Murky Green
#6C7A0E
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7E27 #27287F
analogous
#7F5227 #7F7E27 #547F27
triadic
#7F7E27 #277F7E #7E277F
tetradic
#7F7E27 #277F52 #27287F #7F2754
square
#7F7E27 #277F52 #27287F #7F2754
split-complementary
#7F7E27 #27547F #52277F
monochromatic
#21210A #505019 #7F7E27 #AEAC35 #CBCA55
Accessibility & contrast
On white
4.27
#7F7E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#7F7E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7E27
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7E27 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88791A
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#88766C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7f7e27; /* rgb */ color: rgb(127, 126, 39); /* oklch */ color: oklch(57.7% 0.107 108.7);
Tailwind
colors: {
custom: {
50: '#a7a367',
500: '#7f7e27',
950: '#000000',
},
}SCSS
$custom: #7f7e27; $custom-light: #a7a367; $custom-dark: #000000;
JSON
{
"hex": "#7f7e27",
"rgb": {
"r": 127,
"g": 126,
"b": 39
},
"hsl": {
"h": 59.318,
"s": 53.012,
"l": 32.549
},
"oklch": {
"l": 0.57691,
"c": 0.10738,
"h": 108.7
},
"luminance": 0.1958
}Semantic roles & 50–950 ramp
primary
#7F7E27
secondary
#5253B0
accent
#4DDC4B
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A