#20380A#20380A

#20380A is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.0% C 0.076 H 133.2°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#20380A
RGBrgb(32, 56, 10)
HSLhsl(91, 70%, 13%)
HSVhsv(91, 82%, 22%)
CMYKcmyk(42.9%, 0%, 82.1%, 78%)
CIE-LABlab(20.66, -18.52, 24.36)
CIE-LCHlch(20.66, 30.60, 127.25°)
OKLaboklab(30.98% -0.052 0.0554)
OKLCHoklch(30.98% 0.076 133.2)
XYZxyz(2.0646, 3.1572, 0.7877)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20380A #220A38
analogous
#37380A #20380A #0A380B
triadic
#20380A #0A2038 #380A20
tetradic
#20380A #0A3738 #220A38 #380B0A
square
#20380A #0A3738 #220A38 #380B0A
split-complementary
#20380A #0B0A38 #380A37
monochromatic
#0F1A05 #0F1A05 #20380A #3E6C13 #5BA01D

Accessibility & contrast

On white

12.87
#20380A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#20380A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20380A
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20380A#FFFFFF#000000##FFFFFF
##20380A1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3304
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#20352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #20380a;
/* rgb */ color: rgb(32, 56, 10);
/* oklch */ color: oklch(31.0% 0.076 133.2);
Tailwind
colors: {
  custom: {
    50: '#5e6f4c',
    500: '#20380a',
    950: '#000000',
  },
}
SCSS
$custom: #20380a;
$custom-light: #5e6f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#20380a",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 10
  },
  "hsl": {
    "h": 91.304,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30983,
    "c": 0.07601,
    "h": 133.2
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#20380A
secondary
#512875
accent
#3BED98
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #20380A

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

Preview Lab → · Contrast checker → · Palette generator →

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