#21450F#21450F

#21450F is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.1% C 0.091 H 137.1°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#21450F
RGBrgb(33, 69, 15)
HSLhsl(100, 64%, 16%)
HSVhsv(100, 78%, 27%)
CMYKcmyk(52.2%, 0%, 78.3%, 72.9%)
CIE-LABlab(25.61, -24.15, 27.32)
CIE-LCHlch(25.61, 36.46, 131.48°)
OKLaboklab(35.06% -0.0669 0.0621)
OKLCHoklch(35.06% 0.091 137.1)
XYZxyz(2.8415, 4.6139, 1.1927)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21450F #330F45
analogous
#3C450F #21450F #0F4518
triadic
#21450F #0F2145 #450F21
tetradic
#21450F #0F3C45 #330F45 #45180F
square
#21450F #0F3C45 #330F45 #45180F
split-complementary
#21450F #180F45 #450F3C
monochromatic
#0C1905 #0C1905 #21450F #39771A #51AA25

Accessibility & contrast

On white

10.92
#21450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21450F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21450F#FFFFFF#000000##FFFFFF
##21450F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21450f;
/* rgb */ color: rgb(33, 69, 15);
/* oklch */ color: oklch(35.1% 0.091 137.1);
Tailwind
colors: {
  custom: {
    50: '#607951',
    500: '#21450f',
    950: '#000000',
  },
}
SCSS
$custom: #21450f;
$custom-light: #607951;
$custom-dark: #000000;
JSON
{
  "hex": "#21450f",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 100,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35059,
    "c": 0.09127,
    "h": 137.1
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#21450F
secondary
#65307F
accent
#41E7B0
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21450F

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

Preview Lab → · Contrast checker → · Palette generator →

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