#21450B#21450B

#21450B is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.0% C 0.094 H 136.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#21450B
RGBrgb(33, 69, 11)
HSLhsl(97, 73%, 16%)
HSVhsv(97, 84%, 27%)
CMYKcmyk(52.2%, 0%, 84.1%, 72.9%)
CIE-LABlab(25.57, -24.49, 29.02)
CIE-LCHlch(25.57, 37.97, 130.16°)
OKLaboklab(35.02% -0.0681 0.065)
OKLCHoklch(35.02% 0.094 136.4)
XYZxyz(2.8156, 4.6036, 1.0568)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21450B #2F0B45
analogous
#3E450B #21450B #0B4512
triadic
#21450B #0B2145 #450B21
tetradic
#21450B #0B3E45 #2F0B45 #45120B
square
#21450B #0B3E45 #2F0B45 #45120B
split-complementary
#21450B #120B45 #450B3E
monochromatic
#0D1A04 #0D1A04 #21450B #3A7A13 #53AF1C

Accessibility & contrast

On white

10.93
#21450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#21450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21450B
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21450B#FFFFFF#000000##FFFFFF
##21450B1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E02
Deuteranopia (green-blind)
#433B11
Tritanopia (blue-blind)
#1F423A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #21450b;
/* rgb */ color: rgb(33, 69, 11);
/* oklch */ color: oklch(35.0% 0.094 136.4);
Tailwind
colors: {
  custom: {
    50: '#61794f',
    500: '#21450b',
    950: '#000000',
  },
}
SCSS
$custom: #21450b;
$custom-light: #61794f;
$custom-dark: #000000;
JSON
{
  "hex": "#21450b",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 97.241,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35024,
    "c": 0.09415,
    "h": 136.4
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#21450B
secondary
#602A81
accent
#39EFAA
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21450B

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

Preview Lab → · Contrast checker → · Palette generator →

#21450B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva