#21380C#21380C

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

Color values

HEX#21380C
RGBrgb(33, 56, 12)
HSLhsl(91, 65%, 13%)
HSVhsv(91, 79%, 22%)
CMYKcmyk(41.1%, 0%, 78.6%, 78%)
CIE-LABlab(20.74, -17.90, 23.61)
CIE-LCHlch(20.74, 29.63, 127.18°)
OKLaboklab(31.07% -0.0502 0.054)
OKLCHoklch(31.07% 0.074 132.9)
XYZxyz(2.1077, 3.1781, 0.8501)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21380C #230C38
analogous
#37380C #21380C #0C380D
triadic
#21380C #0C2138 #380C21
tetradic
#21380C #0C3738 #230C38 #380D0C
square
#21380C #0C3738 #230C38 #380D0C
split-complementary
#21380C #0D0C38 #380C37
monochromatic
#0F1905 #0F1905 #21380C #3F6A17 #5C9D22

Accessibility & contrast

On white

12.84
#21380C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21380C
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21380C#FFFFFF#000000##FFFFFF
##21380C1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3306
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#21352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #21380c;
/* rgb */ color: rgb(33, 56, 12);
/* oklch */ color: oklch(31.1% 0.074 132.9);
Tailwind
colors: {
  custom: {
    50: '#5e6e4d',
    500: '#21380c',
    950: '#000000',
  },
}
SCSS
$custom: #21380c;
$custom-light: #5e6e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#21380c",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 12
  },
  "hsl": {
    "h": 91.364,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31071,
    "c": 0.07371,
    "h": 132.9
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#21380C
secondary
#522C74
accent
#40E898
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #21380C

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

Preview Lab → · Contrast checker → · Palette generator →

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