#21450A#21450A

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

Color values

HEX#21450A
RGBrgb(33, 69, 10)
HSLhsl(97, 75%, 15%)
HSVhsv(97, 86%, 27%)
CMYKcmyk(52.2%, 0%, 85.5%, 72.9%)
CIE-LABlab(25.57, -24.56, 29.41)
CIE-LCHlch(25.57, 38.32, 129.87°)
OKLaboklab(35.02% -0.0684 0.0656)
OKLCHoklch(35.02% 0.095 136.2)
XYZxyz(2.8100, 4.6013, 1.0272)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21450A #2E0A45
analogous
#3E450A #21450A #0A4510
triadic
#21450A #0A2145 #450A21
tetradic
#21450A #0A3E45 #2E0A45 #45100A
square
#21450A #0A3E45 #2E0A45 #45100A
split-complementary
#21450A #100A45 #450A3E
monochromatic
#0D1B04 #0D1B04 #21450A #3B7A12 #54B019

Accessibility & contrast

On white

10.94
#21450A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21450A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21450A#FFFFFF#000000##FFFFFF
##21450A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21450a;
/* rgb */ color: rgb(33, 69, 10);
/* oklch */ color: oklch(35.0% 0.095 136.2);
Tailwind
colors: {
  custom: {
    50: '#61794e',
    500: '#21450a',
    950: '#000000',
  },
}
SCSS
$custom: #21450a;
$custom-light: #61794e;
$custom-dark: #000000;
JSON
{
  "hex": "#21450a",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 10
  },
  "hsl": {
    "h": 96.61,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35016,
    "c": 0.09479,
    "h": 136.2
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#21450A
secondary
#5F2982
accent
#36F1A8
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21450A

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

Preview Lab → · Contrast checker → · Palette generator →

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