#7F8112#7F8112
#7F8112 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.123 H 110.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7F8112 |
|---|---|
| RGB | rgb(127, 129, 18) |
| HSL | hsl(61, 76%, 29%) |
| HSV | hsv(61, 86%, 51%) |
| CMYK | cmyk(1.6%, 0%, 86%, 49.4%) |
| CIE-LAB | lab(52.13, -13.53, 53.26) |
| CIE-LCH | lch(52.13, 54.95, 104.26°) |
| OKLab | oklab(58.27% -0.0435 0.1145) |
| OKLCH | oklch(58.27% 0.123 110.8) |
| XYZ | xyz(16.7125, 20.2567, 3.6017) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.25
Shit Green
#758000
ΔE00 2.65
Swamp Green
#748500
ΔE00 3.90
Poop Green
#6F7C00
ΔE00 4.04
Murky Green
#6C7A0E
ΔE00 5.02
Olive (survey)
#6E750E
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F8112 #141281
analogous
#814C12 #7F8112 #488112
triadic
#7F8112 #127F81 #81127F
tetradic
#7F8112 #12814C #141281 #811248
square
#7F8112 #12814C #141281 #811248
split-complementary
#7F8112 #124881 #4C1281
monochromatic
#1A1B04 #4A4B0B #7F8112 #B4B719 #DEE22C
Accessibility & contrast
On white
4.16
#7F8112 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#7F8112 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F8112
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F8112 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F8112 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8D7E1E
Tritanopia (blue-blind)
#89786E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7f8112; /* rgb */ color: rgb(127, 129, 18); /* oklch */ color: oklch(58.3% 0.123 110.8);
Tailwind
colors: {
custom: {
50: '#a8a55d',
500: '#7f8112',
950: '#000000',
},
}SCSS
$custom: #7f8112; $custom-light: #a8a55d; $custom-dark: #000000;
JSON
{
"hex": "#7f8112",
"rgb": {
"r": 127,
"g": 129,
"b": 18
},
"hsl": {
"h": 61.081,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.58267,
"c": 0.12251,
"h": 110.8
},
"luminance": 0.20256
}Semantic roles & 50–950 ramp
primary
#7F8112
secondary
#3B38B7
accent
#36F239
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79