#34541A#34541A

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

Color values

HEX#34541A
RGBrgb(52, 84, 26)
HSLhsl(93, 53%, 22%)
HSVhsv(93, 69%, 33%)
CMYKcmyk(38.1%, 0%, 69%, 67.1%)
CIE-LABlab(32.13, -23.01, 29.32)
CIE-LCHlch(32.13, 37.27, 128.13°)
OKLaboklab(40.72% -0.0642 0.0676)
OKLCHoklch(40.72% 0.093 133.5)
XYZxyz(4.7729, 7.1451, 2.1047)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34541A #3A1A54
analogous
#51541A #34541A #1A541D
triadic
#34541A #1A3454 #541A34
tetradic
#34541A #1A5154 #3A1A54 #541D1A
square
#34541A #1A5154 #3A1A54 #541D1A
split-complementary
#34541A #1D1A54 #541A51
monochromatic
#0E1707 #17250C #34541A #518328 #6EB137

Accessibility & contrast

On white

8.65
#34541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34541A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34541A#FFFFFF#000000##FFFFFF
##34541A1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34541a;
/* rgb */ color: rgb(52, 84, 26);
/* oklch */ color: oklch(40.7% 0.093 133.5);
Tailwind
colors: {
  custom: {
    50: '#6e8459',
    500: '#34541a',
    950: '#000000',
  },
}
SCSS
$custom: #34541a;
$custom-light: #6e8459;
$custom-dark: #000000;
JSON
{
  "hex": "#34541a",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 93.103,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.09327,
    "h": 133.5
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#34541A
secondary
#69408A
accent
#4CDC9B
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #34541A

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

Preview Lab → · Contrast checker → · Palette generator →

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