#7D862B#7D862B
#7D862B is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.114 H 114.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7D862B |
|---|---|
| RGB | rgb(125, 134, 43) |
| HSL | hsl(66, 51%, 35%) |
| HSV | hsv(66, 68%, 53%) |
| CMYK | cmyk(6.7%, 0%, 67.9%, 47.5%) |
| CIE-LAB | lab(53.58, -15.92, 45.89) |
| CIE-LCH | lch(53.58, 48.57, 109.13°) |
| OKLab | oklab(59.44% -0.0477 0.1036) |
| OKLCH | oklch(59.44% 0.114 114.8) |
| XYZ | xyz(17.4190, 21.5849, 5.5337) |
| Luminance | 0.2158 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 3.69
Shit Green
#758000
ΔE00 3.94
Khaki Green
#728639
ΔE00 4.27
Olive
#808000
ΔE00 4.81
Drab
#828344
ΔE00 4.82
Poop Green
#6F7C00
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D862B #342B86
analogous
#86622B #7D862B #50862B
triadic
#7D862B #2B7D86 #862B7D
tetradic
#7D862B #2B8662 #342B86 #862B50
square
#7D862B #2B8662 #342B86 #862B50
split-complementary
#7D862B #2B5086 #622B86
monochromatic
#27290D #52581C #7D862B #A8B43A #C1CC60
Accessibility & contrast
On white
3.95
#7D862B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#7D862B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D862B
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D862B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D862B | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F1E
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#857E74
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7d862b; /* rgb */ color: rgb(125, 134, 43); /* oklch */ color: oklch(59.4% 0.114 114.8);
Tailwind
colors: {
custom: {
50: '#a5a96a',
500: '#7d862b',
950: '#000000',
},
}SCSS
$custom: #7d862b; $custom-light: #a5a96a; $custom-dark: #000000;
JSON
{
"hex": "#7d862b",
"rgb": {
"r": 125,
"g": 134,
"b": 43
},
"hsl": {
"h": 65.934,
"s": 51.412,
"l": 34.706
},
"oklch": {
"l": 0.59438,
"c": 0.11404,
"h": 114.8
},
"luminance": 0.21585
}Semantic roles & 50–950 ramp
primary
#7D862B
secondary
#645BB2
accent
#4DDB5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A