#34501E#34501E

#34501E is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.6% C 0.083 H 133.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#34501E
RGBrgb(52, 80, 30)
HSLhsl(94, 45%, 22%)
HSVhsv(94, 63%, 31%)
CMYKcmyk(35%, 0%, 62.5%, 68.6%)
CIE-LABlab(30.79, -20.53, 25.73)
CIE-LCHlch(30.79, 32.92, 128.58°)
OKLaboklab(39.63% -0.0571 0.0605)
OKLCHoklch(39.63% 0.083 133.4)
XYZxyz(4.5191, 6.5610, 2.2563)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34501E #3A1E50
analogous
#4D501E #34501E #1E5021
triadic
#34501E #1E3450 #501E34
tetradic
#34501E #1E4D50 #3A1E50 #50211E
square
#34501E #1E4D50 #3A1E50 #50211E
split-complementary
#34501E #211E50 #501E4D
monochromatic
#0E1608 #17230D #34501E #517D2F #6EA93F

Accessibility & contrast

On white

9.08
#34501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34501E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34501E#FFFFFF#000000##FFFFFF
##34501E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A19
Deuteranopia (green-blind)
#4F4822
Tritanopia (blue-blind)
#344D45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #34501e;
/* rgb */ color: rgb(52, 80, 30);
/* oklch */ color: oklch(39.6% 0.083 133.4);
Tailwind
colors: {
  custom: {
    50: '#6d815c',
    500: '#34501e',
    950: '#000000',
  },
}
SCSS
$custom: #34501e;
$custom-light: #6d815c;
$custom-dark: #000000;
JSON
{
  "hex": "#34501e",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 93.6,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39632,
    "c": 0.08313,
    "h": 133.4
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#34501E
secondary
#694585
accent
#53D59C
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070A04
muted
#7A7C79

Preview Lab

Preview with #34501E

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

Preview Lab → · Contrast checker → · Palette generator →

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