#7F7F1A#7F7F1A
#7F7F1A is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.117 H 109.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7F1A |
|---|---|
| RGB | rgb(127, 127, 26) |
| HSL | hsl(60, 66%, 30%) |
| HSV | hsv(60, 80%, 50%) |
| CMYK | cmyk(0%, 0%, 79.5%, 50.2%) |
| CIE-LAB | lab(51.57, -12.17, 50.45) |
| CIE-LCH | lch(51.57, 51.90, 103.56°) |
| OKLab | oklab(57.83% -0.0391 0.11) |
| OKLCH | oklch(57.83% 0.117 109.6) |
| XYZ | xyz(16.5288, 19.7659, 3.9216) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.86
Shit Green
#758000
ΔE00 3.21
Poop Green
#6F7C00
ΔE00 4.19
Swamp Green
#748500
ΔE00 4.68
Olive (survey)
#6E750E
ΔE00 4.88
Murky Green
#6C7A0E
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7F1A #1A1A7F
analogous
#7F4C1A #7F7F1A #4D7F1A
triadic
#7F7F1A #1A7F7F #7F1A7F
tetradic
#7F7F1A #1A7F4D #1A1A7F #7F1A4D
square
#7F7F1A #1A7F4D #1A1A7F #7F1A4D
split-complementary
#7F7F1A #1A4C7F #4C1A7F
monochromatic
#191905 #4C4C10 #7F7F1A #B2B224 #D7D73C
Accessibility & contrast
On white
4.24
#7F7F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#7F7F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7F1A
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7F1A | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#89766C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7f7f1a; /* rgb */ color: rgb(127, 127, 26); /* oklch */ color: oklch(57.8% 0.117 109.6);
Tailwind
colors: {
custom: {
50: '#a7a360',
500: '#7f7f1a',
950: '#000000',
},
}SCSS
$custom: #7f7f1a; $custom-light: #a7a360; $custom-dark: #000000;
JSON
{
"hex": "#7f7f1a",
"rgb": {
"r": 127,
"g": 127,
"b": 26
},
"hsl": {
"h": 60,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.57834,
"c": 0.11675,
"h": 109.6
},
"luminance": 0.19765
}Semantic roles & 50–950 ramp
primary
#7F7F1A
secondary
#4242B3
accent
#3FE93F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79