#21380E#21380E

#21380E is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.072 H 133.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#21380E
RGBrgb(33, 56, 14)
HSLhsl(93, 60%, 14%)
HSVhsv(93, 75%, 22%)
CMYKcmyk(41.1%, 0%, 75%, 78%)
CIE-LABlab(20.76, -17.70, 22.67)
CIE-LCHlch(20.76, 28.76, 127.99°)
OKLaboklab(31.09% -0.0495 0.0522)
OKLCHoklch(31.09% 0.072 133.5)
XYZxyz(2.1206, 3.1833, 0.9181)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21380E #250E38
analogous
#36380E #21380E #0E3810
triadic
#21380E #0E2138 #380E21
tetradic
#21380E #0E3638 #250E38 #38100E
square
#21380E #0E3638 #250E38 #38100E
split-complementary
#21380E #100E38 #380E36
monochromatic
#0E1806 #0E1806 #21380E #3E691A #5B9A26

Accessibility & contrast

On white

12.83
#21380E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#21380E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21380E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21380E#FFFFFF#000000##FFFFFF
##21380E1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21380e;
/* rgb */ color: rgb(33, 56, 14);
/* oklch */ color: oklch(31.1% 0.072 133.5);
Tailwind
colors: {
  custom: {
    50: '#5e6e4f',
    500: '#21380e',
    950: '#000000',
  },
}
SCSS
$custom: #21380e;
$custom-light: #5e6e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#21380e",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 14
  },
  "hsl": {
    "h": 92.857,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31094,
    "c": 0.0719,
    "h": 133.5
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#21380E
secondary
#542F73
accent
#45E39B
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #21380E

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

Preview Lab → · Contrast checker → · Palette generator →

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