#21300F#21300F

#21300F is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.057 H 129.8°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#21300F
RGBrgb(33, 48, 15)
HSLhsl(87, 52%, 12%)
HSVhsv(87, 69%, 19%)
CMYKcmyk(31.3%, 0%, 68.7%, 81.2%)
CIE-LABlab(17.79, -13.11, 18.72)
CIE-LCHlch(17.79, 22.85, 125.00°)
OKLaboklab(28.68% -0.0367 0.0441)
OKLCHoklch(28.68% 0.057 129.8)
XYZxyz(1.7704, 2.4717, 0.8357)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21300F #1E0F30
analogous
#302F0F #21300F #10300F
triadic
#21300F #0F2130 #300F21
tetradic
#21300F #0F302F #1E0F30 #300F10
square
#21300F #0F302F #1E0F30 #300F10
split-complementary
#21300F #0F1030 #2F0F30
monochromatic
#101707 #101707 #21300F #415F1E #618D2C

Accessibility & contrast

On white

14.05
#21300F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21300F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21300F#FFFFFF#000000##FFFFFF
##21300F1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#222E29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #21300f;
/* rgb */ color: rgb(33, 48, 15);
/* oklch */ color: oklch(28.7% 0.057 129.8);
Tailwind
colors: {
  custom: {
    50: '#5d684e',
    500: '#21300f',
    950: '#000000',
  },
}
SCSS
$custom: #21300f;
$custom-light: #5d684e;
$custom-dark: #000000;
JSON
{
  "hex": "#21300f",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 87.273,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2868,
    "c": 0.05736,
    "h": 129.8
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#21300F
secondary
#4B316A
accent
#4CDC8D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21300F

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

Preview Lab → · Contrast checker → · Palette generator →

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