#5F751F#5F751F
#5F751F is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.7% C 0.113 H 122.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5F751F |
|---|---|
| RGB | rgb(95, 117, 31) |
| HSL | hsl(75, 58%, 29%) |
| HSV | hsv(75, 74%, 46%) |
| CMYK | cmyk(18.8%, 0%, 73.5%, 54.1%) |
| CIE-LAB | lab(45.98, -21.10, 42.41) |
| CIE-LCH | lch(45.98, 47.37, 116.45°) |
| OKLab | oklab(52.71% -0.0614 0.0951) |
| OKLCH | oklch(52.71% 0.113 122.9) |
| XYZ | xyz(11.3281, 15.2544, 3.6437) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Muddy Green
#657432
ΔE00 3.31
Dirty Green
#667E2C
ΔE00 3.51
Olive Green
#677A04
ΔE00 3.99
Murky Green
#6C7A0E
ΔE00 4.43
Olive Drab
#6F7632
ΔE00 4.66
Olive (survey)
#6E750E
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F751F #351F75
analogous
#75601F #5F751F #34751F
triadic
#5F751F #1F5F75 #751F5F
tetradic
#5F751F #1F7560 #351F75 #751F34
square
#5F751F #1F7560 #351F75 #751F34
split-complementary
#5F751F #1F3475 #601F75
monochromatic
#141806 #384512 #5F751F #86A52C #A9CD42
Accessibility & contrast
On white
5.18
#5F751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#5F751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F751F
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F751F | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D11
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#646F64
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5f751f; /* rgb */ color: rgb(95, 117, 31); /* oklch */ color: oklch(52.7% 0.113 122.9);
Tailwind
colors: {
custom: {
50: '#8f9c61',
500: '#5f751f',
950: '#000000',
},
}SCSS
$custom: #5f751f; $custom-light: #8f9c61; $custom-dark: #000000;
JSON
{
"hex": "#5f751f",
"rgb": {
"r": 95,
"g": 117,
"b": 31
},
"hsl": {
"h": 75.349,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.52712,
"c": 0.11318,
"h": 122.9
},
"luminance": 0.15254
}Semantic roles & 50–950 ramp
primary
#5F751F
secondary
#6047A9
accent
#46E16E
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79