#21300C#21300C

#21300C is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.6% C 0.061 H 128.8°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#21300C
RGBrgb(33, 48, 12)
HSLhsl(85, 60%, 12%)
HSVhsv(85, 75%, 19%)
CMYKcmyk(31.3%, 0%, 75%, 81.2%)
CIE-LABlab(17.75, -13.45, 20.15)
CIE-LCHlch(17.75, 24.23, 123.72°)
OKLaboklab(28.64% -0.038 0.0472)
OKLCHoklch(28.64% 0.061 128.8)
XYZxyz(1.7505, 2.4637, 0.7311)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21300C #1B0C30
analogous
#302D0C #21300C #0F300C
triadic
#21300C #0C2130 #300C21
tetradic
#21300C #0C302D #1B0C30 #300C0F
square
#21300C #0C302D #1B0C30 #300C0F
split-complementary
#21300C #0C0F30 #2D0C30
monochromatic
#111806 #111806 #21300C #436118 #649224

Accessibility & contrast

On white

14.07
#21300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#21300C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21300C
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21300C#FFFFFF#000000##FFFFFF
##21300C1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C08
Deuteranopia (green-blind)
#312B0F
Tritanopia (blue-blind)
#222E28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #21300c;
/* rgb */ color: rgb(33, 48, 12);
/* oklch */ color: oklch(28.6% 0.061 128.8);
Tailwind
colors: {
  custom: {
    50: '#5d684d',
    500: '#21300c',
    950: '#000000',
  },
}
SCSS
$custom: #21300c;
$custom-light: #5d684d;
$custom-dark: #000000;
JSON
{
  "hex": "#21300c",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 85,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28639,
    "c": 0.06059,
    "h": 128.8
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#21300C
secondary
#472C6C
accent
#45E387
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21300C

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

Preview Lab → · Contrast checker → · Palette generator →

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