#21450D#21450D

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

Color values

HEX#21450D
RGBrgb(33, 69, 13)
HSLhsl(99, 68%, 16%)
HSVhsv(99, 81%, 27%)
CMYKcmyk(52.2%, 0%, 81.2%, 72.9%)
CIE-LABlab(25.59, -24.33, 28.19)
CIE-LCHlch(25.59, 37.24, 130.79°)
OKLaboklab(35.04% -0.0675 0.0636)
OKLCHoklch(35.04% 0.093 136.7)
XYZxyz(2.8279, 4.6085, 1.1212)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21450D #310D45
analogous
#3D450D #21450D #0D4515
triadic
#21450D #0D2145 #450D21
tetradic
#21450D #0D3D45 #310D45 #45150D
square
#21450D #0D3D45 #310D45 #45150D
split-complementary
#21450D #150D45 #450D3D
monochromatic
#0C1A05 #0C1A05 #21450D #3A7817 #52AC20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21450D#FFFFFF#000000##FFFFFF
##21450D1.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)
#483E04
Deuteranopia (green-blind)
#433C12
Tritanopia (blue-blind)
#1F423A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #21450d;
/* rgb */ color: rgb(33, 69, 13);
/* oklch */ color: oklch(35.0% 0.093 136.7);
Tailwind
colors: {
  custom: {
    50: '#607950',
    500: '#21450d',
    950: '#000000',
  },
}
SCSS
$custom: #21450d;
$custom-light: #607950;
$custom-dark: #000000;
JSON
{
  "hex": "#21450d",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 13
  },
  "hsl": {
    "h": 98.571,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3504,
    "c": 0.09277,
    "h": 136.7
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#21450D
secondary
#632D80
accent
#3DEBAD
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21450D

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

Preview Lab → · Contrast checker → · Palette generator →

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