#20340E#20340E

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

Color values

HEX#20340E
RGBrgb(32, 52, 14)
HSLhsl(92, 58%, 13%)
HSVhsv(92, 73%, 20%)
CMYKcmyk(38.5%, 0%, 73.1%, 79.6%)
CIE-LABlab(19.20, -15.97, 20.89)
CIE-LCHlch(19.20, 26.29, 127.40°)
OKLaboklab(29.8% -0.0446 0.0485)
OKLCHoklch(29.8% 0.066 132.6)
XYZxyz(1.9029, 2.7947, 0.8545)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20340E #220E34
analogous
#33340E #20340E #0E340F
triadic
#20340E #0E2034 #340E20
tetradic
#20340E #0E3334 #220E34 #340F0E
square
#20340E #0E3334 #220E34 #340F0E
split-complementary
#20340E #0F0E34 #340E33
monochromatic
#0F1806 #0F1806 #20340E #3E641B #5B9428

Accessibility & contrast

On white

13.47
#20340E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20340E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20340E#FFFFFF#000000##FFFFFF
##20340E1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36300A
Deuteranopia (green-blind)
#342E11
Tritanopia (blue-blind)
#20322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #20340e;
/* rgb */ color: rgb(32, 52, 14);
/* oklch */ color: oklch(29.8% 0.066 132.6);
Tailwind
colors: {
  custom: {
    50: '#5d6b4e',
    500: '#20340e',
    950: '#000000',
  },
}
SCSS
$custom: #20340e;
$custom-light: #5d6b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#20340e",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 91.579,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29804,
    "c": 0.06592,
    "h": 132.6
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#20340E
secondary
#512F6F
accent
#47E198
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #20340E

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

Preview Lab → · Contrast checker → · Palette generator →

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