#34541B#34541B

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

Color values

HEX#34541B
RGBrgb(52, 84, 27)
HSLhsl(94, 51%, 22%)
HSVhsv(94, 68%, 33%)
CMYKcmyk(38.1%, 0%, 67.9%, 67.1%)
CIE-LABlab(32.15, -22.91, 28.83)
CIE-LCHlch(32.15, 36.82, 128.47°)
OKLaboklab(40.73% -0.0639 0.0667)
OKLCHoklch(40.73% 0.092 133.8)
XYZxyz(4.7842, 7.1496, 2.1646)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34541B #3B1B54
analogous
#51541B #34541B #1B541F
triadic
#34541B #1B3454 #541B34
tetradic
#34541B #1B5154 #3B1B54 #541F1B
square
#34541B #1B5154 #3B1B54 #541F1B
split-complementary
#34541B #1F1B54 #541B51
monochromatic
#0E1707 #17260C #34541B #51822A #6DB139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34541B#FFFFFF#000000##FFFFFF
##34541B1.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)
#574D14
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#345148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #34541b;
/* rgb */ color: rgb(52, 84, 27);
/* oklch */ color: oklch(40.7% 0.092 133.8);
Tailwind
colors: {
  custom: {
    50: '#6e845a',
    500: '#34541b',
    950: '#000000',
  },
}
SCSS
$custom: #34541b;
$custom-light: #6e845a;
$custom-dark: #000000;
JSON
{
  "hex": "#34541b",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 93.684,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40728,
    "c": 0.09236,
    "h": 133.8
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#34541B
secondary
#6A418A
accent
#4DDB9D
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34541B

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

Preview Lab → · Contrast checker → · Palette generator →

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