#34571F#34571F
#34571F is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.6% C 0.093 H 135.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #34571F |
|---|---|
| RGB | rgb(52, 87, 31) |
| HSL | hsl(98, 47%, 23%) |
| HSV | hsv(98, 64%, 34%) |
| CMYK | cmyk(40.2%, 0%, 64.4%, 65.9%) |
| CIE-LAB | lab(33.23, -23.97, 28.00) |
| CIE-LCH | lch(33.23, 36.86, 130.56°) |
| OKLab | oklab(41.63% -0.0664 0.0654) |
| OKLCH | oklch(41.63% 0.093 135.4) |
| XYZ | xyz(5.0716, 7.6451, 2.5045) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.72
Navy Green
#35530A
ΔE00 3.76
Forest
#0B5509
ΔE00 5.52
Pine
#2B5D34
ΔE00 5.72
Deep Green
#02590F
ΔE00 5.98
Army Green
#4B5D16
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34571F #421F57
analogous
#50571F #34571F #1F5726
triadic
#34571F #1F3457 #571F34
tetradic
#34571F #1F5057 #421F57 #57261F
square
#34571F #1F5057 #421F57 #57261F
split-complementary
#34571F #261F57 #571F50
monochromatic
#0D1708 #192A0F #34571F #4F842F #6AB13F
Accessibility & contrast
On white
8.30
#34571F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#34571F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34571F
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34571F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34571F | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#33544B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #34571f; /* rgb */ color: rgb(52, 87, 31); /* oklch */ color: oklch(41.6% 0.093 135.4);
Tailwind
colors: {
custom: {
50: '#6e865d',
500: '#34571f',
950: '#000000',
},
}SCSS
$custom: #34571f; $custom-light: #6e865d; $custom-dark: #000000;
JSON
{
"hex": "#34571f",
"rgb": {
"r": 52,
"g": 87,
"b": 31
},
"hsl": {
"h": 97.5,
"s": 47.458,
"l": 23.137
},
"oklch": {
"l": 0.41629,
"c": 0.09326,
"h": 135.4
},
"luminance": 0.07645
}Semantic roles & 50–950 ramp
primary
#34571F
secondary
#72468C
accent
#51D7A5
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79