#34591C#34591C

#34591C is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.2% C 0.099 H 135.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#34591C
RGBrgb(52, 89, 28)
HSLhsl(96, 52%, 23%)
HSVhsv(96, 69%, 35%)
CMYKcmyk(41.6%, 0%, 68.5%, 65.1%)
CIE-LABlab(33.90, -25.28, 30.26)
CIE-LCHlch(33.90, 39.43, 129.88°)
OKLaboklab(42.16% -0.0703 0.0699)
OKLCHoklch(42.16% 0.099 135.2)
XYZxyz(5.1980, 7.9584, 2.3606)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34591C #411C59
analogous
#52591C #34591C #1C5922
triadic
#34591C #1C3459 #591C34
tetradic
#34591C #1C5259 #411C59 #59221C
square
#34591C #1C5259 #411C59 #59221C
split-complementary
#34591C #221C59 #591C52
monochromatic
#0E1707 #192A0D #34591C #4F882B #6AB639

Accessibility & contrast

On white

8.10
#34591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#34591C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34591C
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34591C#FFFFFF#000000##FFFFFF
##34591C1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5215
Deuteranopia (green-blind)
#574F21
Tritanopia (blue-blind)
#33564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #34591c;
/* rgb */ color: rgb(52, 89, 28);
/* oklch */ color: oklch(42.2% 0.099 135.2);
Tailwind
colors: {
  custom: {
    50: '#6f885b',
    500: '#34591c',
    950: '#000000',
  },
}
SCSS
$custom: #34591c;
$custom-light: #6f885b;
$custom-dark: #000000;
JSON
{
  "hex": "#34591c",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 96.393,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4216,
    "c": 0.0991,
    "h": 135.2
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#34591C
secondary
#71428F
accent
#4CDCA3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34591C

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

Preview Lab → · Contrast checker → · Palette generator →

#34591C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva