#20380D#20380D

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

Color values

HEX#20380D
RGBrgb(32, 56, 13)
HSLhsl(93, 62%, 14%)
HSVhsv(93, 77%, 22%)
CMYKcmyk(42.9%, 0%, 76.8%, 78%)
CIE-LABlab(20.69, -18.24, 23.06)
CIE-LCHlch(20.69, 29.40, 128.34°)
OKLaboklab(31.01% -0.0509 0.0529)
OKLCHoklch(31.01% 0.073 133.9)
XYZxyz(2.0824, 3.1644, 0.8818)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20380D #250D38
analogous
#35380D #20380D #0D380F
triadic
#20380D #0D2038 #380D20
tetradic
#20380D #0D3538 #250D38 #380F0D
square
#20380D #0D3538 #250D38 #380F0D
split-complementary
#20380D #0F0D38 #380D35
monochromatic
#0E1906 #0E1906 #20380D #3C6A19 #599B24

Accessibility & contrast

On white

12.86
#20380D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20380D
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20380D#FFFFFF#000000##FFFFFF
##20380D1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3307
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#20362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #20380d;
/* rgb */ color: rgb(32, 56, 13);
/* oklch */ color: oklch(31.0% 0.073 133.9);
Tailwind
colors: {
  custom: {
    50: '#5e6f4e',
    500: '#20380d',
    950: '#000000',
  },
}
SCSS
$custom: #20380d;
$custom-light: #5e6f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#20380d",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 13
  },
  "hsl": {
    "h": 93.488,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31014,
    "c": 0.07346,
    "h": 133.9
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#20380D
secondary
#542D73
accent
#42E59D
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #20380D

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

Preview Lab → · Contrast checker → · Palette generator →

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