#34570F#34570F

#34570F is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.106 H 132.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#34570F
RGBrgb(52, 87, 15)
HSLhsl(89, 71%, 20%)
HSVhsv(89, 83%, 34%)
CMYKcmyk(40.2%, 0%, 82.8%, 65.9%)
CIE-LABlab(33.09, -25.39, 35.09)
CIE-LCHlch(33.09, 43.31, 125.89°)
OKLaboklab(41.47% -0.0717 0.078)
OKLCHoklch(41.47% 0.106 132.6)
XYZxyz(4.9105, 7.5807, 1.6563)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34570F #320F57
analogous
#57560F #34570F #10570F
triadic
#34570F #0F3457 #570F34
tetradic
#34570F #0F5756 #320F57 #570F10
square
#34570F #0F5756 #320F57 #570F10
split-complementary
#34570F #0F1057 #560F57
monochromatic
#101A05 #152306 #34570F #538B18 #72BF21

Accessibility & contrast

On white

8.35
#34570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#34570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34570F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34570F#FFFFFF#000000##FFFFFF
##34570F1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5001
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#345349
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #34570f;
/* rgb */ color: rgb(52, 87, 15);
/* oklch */ color: oklch(41.5% 0.106 132.6);
Tailwind
colors: {
  custom: {
    50: '#6f8654',
    500: '#34570f',
    950: '#000000',
  },
}
SCSS
$custom: #34570f;
$custom-light: #6f8654;
$custom-dark: #000000;
JSON
{
  "hex": "#34570f",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 89.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.10591,
    "h": 132.6
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#34570F
secondary
#603191
accent
#3AED91
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #34570F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#34570F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva