#7F8530#7F8530
#7F8530 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.108 H 113.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7F8530 |
|---|---|
| RGB | rgb(127, 133, 48) |
| HSL | hsl(64, 47%, 35%) |
| HSV | hsv(64, 64%, 52%) |
| CMYK | cmyk(4.5%, 0%, 63.9%, 47.8%) |
| CIE-LAB | lab(53.49, -14.15, 43.65) |
| CIE-LCH | lch(53.49, 45.88, 107.97°) |
| OKLab | oklab(59.42% -0.0424 0.0996) |
| OKLCH | oklch(59.42% 0.108 113.1) |
| XYZ | xyz(17.6739, 21.5008, 6.0148) |
| Luminance | 0.2150 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.86
Khaki Green
#728639
ΔE00 4.47
Shit Green
#758000
ΔE00 4.51
Swamp Green
#748500
ΔE00 4.61
Olive
#808000
ΔE00 4.90
Poop Green
#6F7C00
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F8530 #363085
analogous
#856030 #7F8530 #548530
triadic
#7F8530 #307F85 #85307F
tetradic
#7F8530 #308560 #363085 #853054
square
#7F8530 #308560 #363085 #853054
split-complementary
#7F8530 #305485 #603085
monochromatic
#292B10 #545820 #7F8530 #AAB240 #C1C867
Accessibility & contrast
On white
3.96
#7F8530 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#7F8530 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F8530
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F8530 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F8530 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#877D73
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7f8530; /* rgb */ color: rgb(127, 133, 48); /* oklch */ color: oklch(59.4% 0.108 113.1);
Tailwind
colors: {
custom: {
50: '#a6a86d',
500: '#7f8530',
950: '#000000',
},
}SCSS
$custom: #7f8530; $custom-light: #a6a86d; $custom-dark: #000000;
JSON
{
"hex": "#7f8530",
"rgb": {
"r": 127,
"g": 133,
"b": 48
},
"hsl": {
"h": 64.235,
"s": 46.961,
"l": 35.49
},
"oklch": {
"l": 0.5942,
"c": 0.10819,
"h": 113.1
},
"luminance": 0.215
}Semantic roles & 50–950 ramp
primary
#7F8530
secondary
#6761AF
accent
#51D75B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A