#20340A#20340A

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

Color values

HEX#20340A
RGBrgb(32, 52, 10)
HSLhsl(89, 68%, 12%)
HSVhsv(89, 81%, 20%)
CMYKcmyk(38.5%, 0%, 80.8%, 79.6%)
CIE-LABlab(19.16, -16.37, 22.66)
CIE-LCHlch(19.16, 27.95, 125.86°)
OKLaboklab(29.76% -0.0461 0.0522)
OKLCHoklch(29.76% 0.07 131.5)
XYZxyz(1.8784, 2.7849, 0.7257)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20340A #1E0A34
analogous
#34330A #20340A #0B340A
triadic
#20340A #0A2034 #340A20
tetradic
#20340A #0A3433 #1E0A34 #340A0B
square
#20340A #0A3433 #1E0A34 #340A0B
split-complementary
#20340A #0A0B34 #330A34
monochromatic
#101A05 #101A05 #20340A #406714 #5F9B1E

Accessibility & contrast

On white

13.49
#20340A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20340A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20340A#FFFFFF#000000##FFFFFF
##20340A1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F05
Deuteranopia (green-blind)
#342E0E
Tritanopia (blue-blind)
#21312C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20340a;
/* rgb */ color: rgb(32, 52, 10);
/* oklch */ color: oklch(29.8% 0.070 131.5);
Tailwind
colors: {
  custom: {
    50: '#5d6b4c',
    500: '#20340a',
    950: '#000000',
  },
}
SCSS
$custom: #20340a;
$custom-light: #5d6b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#20340a",
  "rgb": {
    "r": 32,
    "g": 52,
    "b": 10
  },
  "hsl": {
    "h": 88.571,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29758,
    "c": 0.06967,
    "h": 131.5
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#20340A
secondary
#4B2871
accent
#3DEB90
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #20340A

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

Preview Lab → · Contrast checker → · Palette generator →

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