#7D8112#7D8112
#7D8112 is a mid, vivid yellow. Relative luminance 0.201; OKLCH L 58.1% C 0.123 H 111.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7D8112 |
|---|---|
| RGB | rgb(125, 129, 18) |
| HSL | hsl(62, 76%, 29%) |
| HSV | hsv(62, 86%, 51%) |
| CMYK | cmyk(3.1%, 0%, 86%, 49.4%) |
| CIE-LAB | lab(51.96, -14.45, 53.04) |
| CIE-LCH | lch(51.96, 54.98, 105.24°) |
| OKLab | oklab(58.09% -0.0459 0.1142) |
| OKLCH | oklch(58.09% 0.123 111.9) |
| XYZ | xyz(16.4175, 20.1046, 3.5879) |
| Luminance | 0.2010 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.68
Shit Green
#758000
ΔE00 2.11
Swamp Green
#748500
ΔE00 3.38
Poop Green
#6F7C00
ΔE00 3.54
Murky Green
#6C7A0E
ΔE00 4.53
Olive (survey)
#6E750E
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D8112 #161281
analogous
#814E12 #7D8112 #468112
triadic
#7D8112 #127D81 #81127D
tetradic
#7D8112 #12814E #161281 #811246
square
#7D8112 #12814E #161281 #811246
split-complementary
#7D8112 #124681 #4E1281
monochromatic
#1A1B04 #494B0B #7D8112 #B1B719 #DBE22C
Accessibility & contrast
On white
4.18
#7D8112 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#7D8112 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D8112
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D8112 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D8112 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#86786E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7d8112; /* rgb */ color: rgb(125, 129, 18); /* oklch */ color: oklch(58.1% 0.123 111.9);
Tailwind
colors: {
custom: {
50: '#a6a55d',
500: '#7d8112',
950: '#000000',
},
}SCSS
$custom: #7d8112; $custom-light: #a6a55d; $custom-dark: #000000;
JSON
{
"hex": "#7d8112",
"rgb": {
"r": 125,
"g": 129,
"b": 18
},
"hsl": {
"h": 62.162,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.58088,
"c": 0.12306,
"h": 111.9
},
"luminance": 0.20104
}Semantic roles & 50–950 ramp
primary
#7D8112
secondary
#3D38B7
accent
#36F23C
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79