#34501B#34501B

#34501B is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.6% C 0.086 H 132.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#34501B
RGBrgb(52, 80, 27)
HSLhsl(92, 50%, 21%)
HSVhsv(92, 66%, 31%)
CMYKcmyk(35%, 0%, 66.3%, 68.6%)
CIE-LABlab(30.75, -20.87, 27.28)
CIE-LCHlch(30.75, 34.34, 127.41°)
OKLaboklab(39.59% -0.0583 0.0634)
OKLCHoklch(39.59% 0.086 132.6)
XYZxyz(4.4826, 6.5464, 2.0641)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34501B #371B50
analogous
#4E501B #34501B #1B501C
triadic
#34501B #1B3450 #501B34
tetradic
#34501B #1B4E50 #371B50 #501C1B
square
#34501B #1B4E50 #371B50 #501C1B
split-complementary
#34501B #1C1B50 #501B4E
monochromatic
#0F1708 #16220C #34501B #527E2A #6FAC3A

Accessibility & contrast

On white

9.09
#34501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#34501B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34501B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34501B#FFFFFF#000000##FFFFFF
##34501B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A15
Deuteranopia (green-blind)
#4F481F
Tritanopia (blue-blind)
#354D45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #34501b;
/* rgb */ color: rgb(52, 80, 27);
/* oklch */ color: oklch(39.6% 0.086 132.6);
Tailwind
colors: {
  custom: {
    50: '#6e815a',
    500: '#34501b',
    950: '#000000',
  },
}
SCSS
$custom: #34501b;
$custom-light: #6e815a;
$custom-dark: #000000;
JSON
{
  "hex": "#34501b",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 91.698,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39593,
    "c": 0.08612,
    "h": 132.6
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#34501B
secondary
#654186
accent
#4FD998
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #34501B

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

Preview Lab → · Contrast checker → · Palette generator →

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