#7F7F17#7F7F17
#7F7F17 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.118 H 109.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7F17 |
|---|---|
| RGB | rgb(127, 127, 23) |
| HSL | hsl(60, 69%, 29%) |
| HSV | hsv(60, 82%, 50%) |
| CMYK | cmyk(0%, 0%, 81.9%, 50.2%) |
| CIE-LAB | lab(51.56, -12.29, 51.38) |
| CIE-LCH | lch(51.56, 52.83, 103.45°) |
| OKLab | oklab(57.82% -0.0397 0.1114) |
| OKLCH | oklch(57.82% 0.118 109.6) |
| XYZ | xyz(16.4971, 19.7531, 3.7542) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.59
Shit Green
#758000
ΔE00 3.12
Poop Green
#6F7C00
ΔE00 4.15
Swamp Green
#748500
ΔE00 4.63
Olive (survey)
#6E750E
ΔE00 4.91
Murky Green
#6C7A0E
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7F17 #17177F
analogous
#7F4B17 #7F7F17 #4B7F17
triadic
#7F7F17 #177F7F #7F177F
tetradic
#7F7F17 #177F4B #17177F #7F174B
square
#7F7F17 #177F4B #17177F #7F174B
split-complementary
#7F7F17 #174B7F #4B177F
monochromatic
#1A1A05 #4B4B0E #7F7F17 #B3B320 #DBDB36
Accessibility & contrast
On white
4.24
#7F7F17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#7F7F17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7F17
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7F17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7F17 | 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)
#8B7C21
Tritanopia (blue-blind)
#89766C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7f7f17; /* rgb */ color: rgb(127, 127, 23); /* oklch */ color: oklch(57.8% 0.118 109.6);
Tailwind
colors: {
custom: {
50: '#a8a35f',
500: '#7f7f17',
950: '#000000',
},
}SCSS
$custom: #7f7f17; $custom-light: #a8a35f; $custom-dark: #000000;
JSON
{
"hex": "#7f7f17",
"rgb": {
"r": 127,
"g": 127,
"b": 23
},
"hsl": {
"h": 60,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.57818,
"c": 0.11827,
"h": 109.6
},
"luminance": 0.19753
}Semantic roles & 50–950 ramp
primary
#7F7F17
secondary
#3E3EB4
accent
#3CEC3C
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79