#21450E#21450E

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

Color values

HEX#21450E
RGBrgb(33, 69, 14)
HSLhsl(99, 66%, 16%)
HSVhsv(99, 80%, 27%)
CMYKcmyk(52.2%, 0%, 79.7%, 72.9%)
CIE-LABlab(25.60, -24.24, 27.76)
CIE-LCHlch(25.60, 36.86, 131.13°)
OKLaboklab(35.05% -0.0672 0.0629)
OKLCHoklch(35.05% 0.092 136.9)
XYZxyz(2.8345, 4.6111, 1.1561)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21450E #320E45
analogous
#3D450E #21450E #0E4517
triadic
#21450E #0E2145 #450E21
tetradic
#21450E #0E3D45 #320E45 #45170E
square
#21450E #0E3D45 #320E45 #45170E
split-complementary
#21450E #170E45 #450E3D
monochromatic
#0C1905 #0C1905 #21450E #397818 #52AB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #21450e;
/* rgb */ color: rgb(33, 69, 14);
/* oklch */ color: oklch(35.0% 0.092 136.9);
Tailwind
colors: {
  custom: {
    50: '#607950',
    500: '#21450e',
    950: '#000000',
  },
}
SCSS
$custom: #21450e;
$custom-light: #607950;
$custom-dark: #000000;
JSON
{
  "hex": "#21450e",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 99.273,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35049,
    "c": 0.09203,
    "h": 136.9
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#21450E
secondary
#642F80
accent
#3FE9AE
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21450E

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

Preview Lab → · Contrast checker → · Palette generator →

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