#20340F#20340F

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

Color values

HEX#20340F
RGBrgb(32, 52, 15)
HSLhsl(92, 55%, 13%)
HSVhsv(92, 71%, 20%)
CMYKcmyk(38.5%, 0%, 71.2%, 79.6%)
CIE-LABlab(19.21, -15.85, 20.38)
CIE-LCHlch(19.21, 25.82, 127.88°)
OKLaboklab(29.82% -0.0442 0.0475)
OKLCHoklch(29.82% 0.065 132.9)
XYZxyz(1.9098, 2.7975, 0.8912)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20340F #230F34
analogous
#32340F #20340F #0F3410
triadic
#20340F #0F2034 #340F20
tetradic
#20340F #0F3234 #230F34 #34100F
square
#20340F #0F3234 #230F34 #34100F
split-complementary
#20340F #100F34 #340F32
monochromatic
#0F1807 #0F1807 #20340F #3D631D #5A932A

Accessibility & contrast

On white

13.46
#20340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20340F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20340F#FFFFFF#000000##FFFFFF
##20340F1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20340f;
/* rgb */ color: rgb(32, 52, 15);
/* oklch */ color: oklch(29.8% 0.065 132.9);
Tailwind
colors: {
  custom: {
    50: '#5d6b4f',
    500: '#20340f',
    950: '#000000',
  },
}
SCSS
$custom: #20340f;
$custom-light: #5d6b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#20340f",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 92.432,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29818,
    "c": 0.0649,
    "h": 132.9
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#20340F
secondary
#52316E
accent
#49DF9A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #20340F

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

Preview Lab → · Contrast checker → · Palette generator →

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