#34591B#34591B

#34591B is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.1% C 0.100 H 135.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#34591B
RGBrgb(52, 89, 27)
HSLhsl(96, 53%, 23%)
HSVhsv(96, 70%, 35%)
CMYKcmyk(41.6%, 0%, 69.7%, 65.1%)
CIE-LABlab(33.89, -25.38, 30.74)
CIE-LCHlch(33.89, 39.86, 129.55°)
OKLaboklab(42.15% -0.0706 0.0707)
OKLCHoklch(42.15% 0.1 135)
XYZxyz(5.1863, 7.9537, 2.2986)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34591B #401B59
analogous
#53591B #34591B #1B5921
triadic
#34591B #1B3459 #591B34
tetradic
#34591B #1B5359 #401B59 #59211B
square
#34591B #1B5359 #401B59 #59211B
split-complementary
#34591B #211B59 #591B53
monochromatic
#0E1707 #192A0D #34591B #4F8829 #6BB737

Accessibility & contrast

On white

8.11
#34591B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34591B
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34591B#FFFFFF#000000##FFFFFF
##34591B1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5213
Deuteranopia (green-blind)
#574F20
Tritanopia (blue-blind)
#33554C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #34591b;
/* rgb */ color: rgb(52, 89, 27);
/* oklch */ color: oklch(42.1% 0.100 135.0);
Tailwind
colors: {
  custom: {
    50: '#6f885b',
    500: '#34591b',
    950: '#000000',
  },
}
SCSS
$custom: #34591b;
$custom-light: #6f885b;
$custom-dark: #000000;
JSON
{
  "hex": "#34591b",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 95.806,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.09997,
    "h": 135
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#34591B
secondary
#6F418F
accent
#4BDDA2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34591B

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

Preview Lab → · Contrast checker → · Palette generator →

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