#34580D#34580D

#34580D is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.7% C 0.108 H 132.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#34580D
RGBrgb(52, 88, 13)
HSLhsl(89, 74%, 20%)
HSVhsv(89, 85%, 35%)
CMYKcmyk(40.9%, 0%, 85.2%, 65.5%)
CIE-LABlab(33.43, -25.99, 36.12)
CIE-LCHlch(33.43, 44.50, 125.74°)
OKLaboklab(41.74% -0.0734 0.0798)
OKLCHoklch(41.74% 0.108 132.6)
XYZxyz(4.9785, 7.7383, 1.6120)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34580D #310D58
analogous
#58570D #34580D #0F580D
triadic
#34580D #0D3458 #580D34
tetradic
#34580D #0D5857 #310D58 #580D0F
square
#34580D #0D5857 #310D58 #580D0F
split-complementary
#34580D #0D0F58 #570D58
monochromatic
#101B04 #142305 #34580D #548D15 #73C31D

Accessibility & contrast

On white

8.24
#34580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#34580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34580D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34580D#FFFFFF#000000##FFFFFF
##34580D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5000
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#34544A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #34580d;
/* rgb */ color: rgb(52, 88, 13);
/* oklch */ color: oklch(41.7% 0.108 132.6);
Tailwind
colors: {
  custom: {
    50: '#6f8753',
    500: '#34580d',
    950: '#000000',
  },
}
SCSS
$custom: #34580d;
$custom-light: #6f8753;
$custom-dark: #000000;
JSON
{
  "hex": "#34580d",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 88.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.10844,
    "h": 132.6
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#34580D
secondary
#5E2E93
accent
#37F190
background
#F6F8F4
surface
#ECEFE8
border
#C7CAC4
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #34580D

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

Preview Lab → · Contrast checker → · Palette generator →

#34580D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva