#20340C#20340C

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

Color values

HEX#20340C
RGBrgb(32, 52, 12)
HSLhsl(90, 63%, 13%)
HSVhsv(90, 77%, 20%)
CMYKcmyk(38.5%, 0%, 76.9%, 79.6%)
CIE-LABlab(19.18, -16.18, 21.82)
CIE-LCHlch(19.18, 27.16, 126.56°)
OKLaboklab(29.78% -0.0454 0.0504)
OKLCHoklch(29.78% 0.068 132)
XYZxyz(1.8900, 2.7895, 0.7866)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20340C #200C34
analogous
#34340C #20340C #0C340C
triadic
#20340C #0C2034 #340C20
tetradic
#20340C #0C3434 #200C34 #340C0C
square
#20340C #0C3434 #200C34 #340C0C
split-complementary
#20340C #0C0C34 #340C34
monochromatic
#0F1906 #0F1906 #20340C #3F6617 #5D9723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20340C#FFFFFF#000000##FFFFFF
##20340C1.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)
#373007
Deuteranopia (green-blind)
#342E0F
Tritanopia (blue-blind)
#21322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #20340c;
/* rgb */ color: rgb(32, 52, 12);
/* oklch */ color: oklch(29.8% 0.068 132.0);
Tailwind
colors: {
  custom: {
    50: '#5d6b4d',
    500: '#20340c',
    950: '#000000',
  },
}
SCSS
$custom: #20340c;
$custom-light: #5d6b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#20340c",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 90,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2978,
    "c": 0.06788,
    "h": 132
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#20340C
secondary
#4E2C70
accent
#42E694
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #20340C

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

Preview Lab → · Contrast checker → · Palette generator →

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