#21450C#21450C

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

Color values

HEX#21450C
RGBrgb(33, 69, 12)
HSLhsl(98, 70%, 16%)
HSVhsv(98, 83%, 27%)
CMYKcmyk(52.2%, 0%, 82.6%, 72.9%)
CIE-LABlab(25.58, -24.41, 28.61)
CIE-LCHlch(25.58, 37.61, 130.47°)
OKLaboklab(35.03% -0.0678 0.0643)
OKLCHoklch(35.03% 0.093 136.5)
XYZxyz(2.8216, 4.6059, 1.0881)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21450C #300C45
analogous
#3D450C #21450C #0C4513
triadic
#21450C #0C2145 #450C21
tetradic
#21450C #0C3D45 #300C45 #45130C
square
#21450C #0C3D45 #300C45 #45130C
split-complementary
#21450C #130C45 #450C3D
monochromatic
#0C1A05 #0C1A05 #21450C #3A7915 #53AD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #21450c;
/* rgb */ color: rgb(33, 69, 12);
/* oklch */ color: oklch(35.0% 0.093 136.5);
Tailwind
colors: {
  custom: {
    50: '#60794f',
    500: '#21450c',
    950: '#000000',
  },
}
SCSS
$custom: #21450c;
$custom-light: #60794f;
$custom-dark: #000000;
JSON
{
  "hex": "#21450c",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 97.895,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35032,
    "c": 0.09348,
    "h": 136.5
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#21450C
secondary
#622C81
accent
#3BEDAB
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21450C

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

Preview Lab → · Contrast checker → · Palette generator →

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