#20380F#20380F

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

Color values

HEX#20380F
RGBrgb(32, 56, 15)
HSLhsl(95, 58%, 14%)
HSVhsv(95, 73%, 22%)
CMYKcmyk(42.9%, 0%, 73.2%, 78%)
CIE-LABlab(20.71, -18.03, 22.08)
CIE-LCHlch(20.71, 28.50, 129.23°)
OKLaboklab(31.04% -0.0502 0.0511)
OKLCHoklch(31.04% 0.072 134.5)
XYZxyz(2.0960, 3.1698, 0.9532)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20380F #270F38
analogous
#35380F #20380F #0F3813
triadic
#20380F #0F2038 #380F20
tetradic
#20380F #0F3538 #270F38 #38130F
square
#20380F #0F3538 #270F38 #38130F
split-complementary
#20380F #130F38 #380F35
monochromatic
#0E1806 #0E1806 #20380F #3C681C #579929

Accessibility & contrast

On white

12.85
#20380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20380F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20380F#FFFFFF#000000##FFFFFF
##20380F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20380f;
/* rgb */ color: rgb(32, 56, 15);
/* oklch */ color: oklch(31.0% 0.072 134.5);
Tailwind
colors: {
  custom: {
    50: '#5e6f4f',
    500: '#20380f',
    950: '#000000',
  },
}
SCSS
$custom: #20380f;
$custom-light: #5e6f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#20380f",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 95.122,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31038,
    "c": 0.07158,
    "h": 134.5
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#20380F
secondary
#573072
accent
#47E1A1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #20380F

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

Preview Lab → · Contrast checker → · Palette generator →

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