#34541C#34541C

#34541C is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.7% C 0.091 H 134.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#34541C
RGBrgb(52, 84, 28)
HSLhsl(94, 50%, 22%)
HSVhsv(94, 67%, 33%)
CMYKcmyk(38.1%, 0%, 66.7%, 67.1%)
CIE-LABlab(32.16, -22.80, 28.33)
CIE-LCHlch(32.16, 36.37, 128.83°)
OKLaboklab(40.74% -0.0635 0.0658)
OKLCHoklch(40.74% 0.091 134)
XYZxyz(4.7960, 7.1543, 2.2266)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34541C #3C1C54
analogous
#50541C #34541C #1C5420
triadic
#34541C #1C3454 #541C34
tetradic
#34541C #1C5054 #3C1C54 #54201C
square
#34541C #1C5054 #3C1C54 #54201C
split-complementary
#34541C #201C54 #541C50
monochromatic
#0E1708 #18260D #34541C #50822B #6DB03B

Accessibility & contrast

On white

8.64
#34541C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#34541C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34541C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34541C#FFFFFF#000000##FFFFFF
##34541C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D16
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#345148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #34541c;
/* rgb */ color: rgb(52, 84, 28);
/* oklch */ color: oklch(40.7% 0.091 134.0);
Tailwind
colors: {
  custom: {
    50: '#6e845b',
    500: '#34541c',
    950: '#000000',
  },
}
SCSS
$custom: #34541c;
$custom-light: #6e845b;
$custom-dark: #000000;
JSON
{
  "hex": "#34541c",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 28
  },
  "hsl": {
    "h": 94.286,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.09144,
    "h": 134
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#34541C
secondary
#6B428A
accent
#4EDA9E
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34541C

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

Preview Lab → · Contrast checker → · Palette generator →

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