#7D862F#7D862F
#7D862F is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.5% C 0.111 H 114.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7D862F |
|---|---|
| RGB | rgb(125, 134, 47) |
| HSL | hsl(66, 48%, 35%) |
| HSV | hsv(66, 65%, 53%) |
| CMYK | cmyk(6.7%, 0%, 64.9%, 47.5%) |
| CIE-LAB | lab(53.62, -15.65, 44.18) |
| CIE-LCH | lch(53.62, 46.87, 109.50°) |
| OKLab | oklab(59.48% -0.0465 0.1006) |
| OKLCH | oklch(59.48% 0.111 114.8) |
| XYZ | xyz(17.4960, 21.6157, 5.9393) |
| Luminance | 0.2162 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.88
Swamp Green
#748500
ΔE00 4.17
Drab
#828344
ΔE00 4.36
Shit Green
#758000
ΔE00 4.40
Olive
#808000
ΔE00 5.27
Poop Green
#6F7C00
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D862F #382F86
analogous
#86632F #7D862F #51862F
triadic
#7D862F #2F7D86 #862F7D
tetradic
#7D862F #2F8663 #382F86 #862F51
square
#7D862F #2F8663 #382F86 #862F51
split-complementary
#7D862F #2F5186 #632F86
monochromatic
#282B0F #53591F #7D862F #A7B33F #BFC966
Accessibility & contrast
On white
3.95
#7D862F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#7D862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D862F
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D862F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D862F | 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)
#8F7F24
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#857E74
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7d862f; /* rgb */ color: rgb(125, 134, 47); /* oklch */ color: oklch(59.5% 0.111 114.8);
Tailwind
colors: {
custom: {
50: '#a5a96c',
500: '#7d862f',
950: '#000000',
},
}SCSS
$custom: #7d862f; $custom-light: #a5a96c; $custom-dark: #000000;
JSON
{
"hex": "#7d862f",
"rgb": {
"r": 125,
"g": 134,
"b": 47
},
"hsl": {
"h": 66.207,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.59475,
"c": 0.11083,
"h": 114.8
},
"luminance": 0.21615
}Semantic roles & 50–950 ramp
primary
#7D862F
secondary
#6960B0
accent
#50D85E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A