#20340D#20340D

#20340D is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.8% C 0.067 H 132.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#20340D
RGBrgb(32, 52, 13)
HSLhsl(91, 60%, 13%)
HSVhsv(91, 75%, 20%)
CMYKcmyk(38.5%, 0%, 75%, 79.6%)
CIE-LABlab(19.19, -16.07, 21.36)
CIE-LCHlch(19.19, 26.74, 126.96°)
OKLaboklab(29.79% -0.045 0.0495)
OKLCHoklch(29.79% 0.067 132.3)
XYZxyz(1.8963, 2.7920, 0.8197)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20340D #210D34
analogous
#33340D #20340D #0D340D
triadic
#20340D #0D2034 #340D20
tetradic
#20340D #0D3334 #210D34 #340D0D
square
#20340D #0D3334 #210D34 #340D0D
split-complementary
#20340D #0D0D34 #340D33
monochromatic
#0F1806 #0F1806 #20340D #3E6519 #5C9625

Accessibility & contrast

On white

13.48
#20340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#20340D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20340D
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20340D#FFFFFF#000000##FFFFFF
##20340D1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363008
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#20322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #20340d;
/* rgb */ color: rgb(32, 52, 13);
/* oklch */ color: oklch(29.8% 0.067 132.3);
Tailwind
colors: {
  custom: {
    50: '#5d6b4e',
    500: '#20340d',
    950: '#000000',
  },
}
SCSS
$custom: #20340d;
$custom-light: #5d6b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#20340d",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 90.769,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29792,
    "c": 0.06692,
    "h": 132.3
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#20340D
secondary
#4F2D6F
accent
#45E396
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #20340D

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

Preview Lab → · Contrast checker → · Palette generator →

#20340D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva