#20380C#20380C

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

Color values

HEX#20380C
RGBrgb(32, 56, 12)
HSLhsl(93, 65%, 13%)
HSVhsv(93, 79%, 22%)
CMYKcmyk(42.9%, 0%, 78.6%, 78%)
CIE-LABlab(20.68, -18.34, 23.52)
CIE-LCHlch(20.68, 29.82, 127.95°)
OKLaboklab(31% -0.0513 0.0538)
OKLCHoklch(31% 0.074 133.6)
XYZxyz(2.0762, 3.1619, 0.8487)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20380C #240C38
analogous
#36380C #20380C #0C380E
triadic
#20380C #0C2038 #380C20
tetradic
#20380C #0C3638 #240C38 #380E0C
square
#20380C #0C3638 #240C38 #380E0C
split-complementary
#20380C #0E0C38 #380C36
monochromatic
#0E1905 #0E1905 #20380C #3D6A17 #5A9D22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20380C#FFFFFF#000000##FFFFFF
##20380C1.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)
#3B3306
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#20352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #20380c;
/* rgb */ color: rgb(32, 56, 12);
/* oklch */ color: oklch(31.0% 0.074 133.6);
Tailwind
colors: {
  custom: {
    50: '#5e6f4d',
    500: '#20380c',
    950: '#000000',
  },
}
SCSS
$custom: #20380c;
$custom-light: #5e6f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#20380c",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 92.727,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31003,
    "c": 0.07434,
    "h": 133.6
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#20380C
secondary
#532C74
accent
#40E89C
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #20380C

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

Preview Lab → · Contrast checker → · Palette generator →

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