#7F8519#7F8519
#7F8519 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.124 H 112.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7F8519 |
|---|---|
| RGB | rgb(127, 133, 25) |
| HSL | hsl(63, 68%, 31%) |
| HSV | hsv(63, 81%, 52%) |
| CMYK | cmyk(4.5%, 0%, 81.2%, 47.8%) |
| CIE-LAB | lab(53.34, -15.43, 52.35) |
| CIE-LCH | lch(53.34, 54.58, 106.42°) |
| OKLab | oklab(59.25% -0.0482 0.1139) |
| OKLCH | oklch(59.25% 0.124 112.9) |
| XYZ | xyz(17.3160, 21.3577, 4.1298) |
| Luminance | 0.2136 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.74
Shit Green
#758000
ΔE00 2.75
Swamp Green
#748500
ΔE00 2.96
Poop Green
#6F7C00
ΔE00 4.40
Murky Green
#6C7A0E
ΔE00 5.35
Dark Yellow Green
#728F02
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F8519 #1F1985
analogous
#855519 #7F8519 #498519
triadic
#7F8519 #197F85 #85197F
tetradic
#7F8519 #198555 #1F1985 #851949
square
#7F8519 #198555 #1F1985 #851949
split-complementary
#7F8519 #194985 #551985
monochromatic
#1D1E06 #4E510F #7F8519 #B0B923 #D2DB3E
Accessibility & contrast
On white
3.98
#7F8519 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#7F8519 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F8519
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F8519 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F8519 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#908023
Tritanopia (blue-blind)
#887C71
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7f8519; /* rgb */ color: rgb(127, 133, 25); /* oklch */ color: oklch(59.2% 0.124 112.9);
Tailwind
colors: {
custom: {
50: '#a7a861',
500: '#7f8519',
950: '#000000',
},
}SCSS
$custom: #7f8519; $custom-light: #a7a861; $custom-dark: #000000;
JSON
{
"hex": "#7f8519",
"rgb": {
"r": 127,
"g": 133,
"b": 25
},
"hsl": {
"h": 63.333,
"s": 68.354,
"l": 30.98
},
"oklch": {
"l": 0.59247,
"c": 0.12367,
"h": 112.9
},
"luminance": 0.21357
}Semantic roles & 50–950 ramp
primary
#7F8519
secondary
#4841B9
accent
#3DEB46
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A