#20380E#20380E

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

Color values

HEX#20380E
RGBrgb(32, 56, 14)
HSLhsl(94, 60%, 14%)
HSVhsv(94, 75%, 22%)
CMYKcmyk(42.9%, 0%, 75%, 78%)
CIE-LABlab(20.70, -18.13, 22.58)
CIE-LCHlch(20.70, 28.96, 128.77°)
OKLaboklab(31.03% -0.0506 0.052)
OKLCHoklch(31.03% 0.073 134.2)
XYZxyz(2.0891, 3.1670, 0.9166)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20380E #260E38
analogous
#35380E #20380E #0E3811
triadic
#20380E #0E2038 #380E20
tetradic
#20380E #0E3538 #260E38 #38110E
square
#20380E #0E3538 #260E38 #38110E
split-complementary
#20380E #110E38 #380E35
monochromatic
#0E1806 #0E1806 #20380E #3C691A #589A26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20380E#FFFFFF#000000##FFFFFF
##20380E1.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)
#3A3309
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#20362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #20380e;
/* rgb */ color: rgb(32, 56, 14);
/* oklch */ color: oklch(31.0% 0.073 134.2);
Tailwind
colors: {
  custom: {
    50: '#5e6f4f',
    500: '#20380e',
    950: '#000000',
  },
}
SCSS
$custom: #20380e;
$custom-light: #5e6f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#20380e",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 14
  },
  "hsl": {
    "h": 94.286,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31026,
    "c": 0.07253,
    "h": 134.2
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#20380E
secondary
#562F73
accent
#45E39F
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #20380E

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

Preview Lab → · Contrast checker → · Palette generator →

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