#21460D#21460D

#21460D is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.3% C 0.094 H 136.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#21460D
RGBrgb(33, 70, 13)
HSLhsl(99, 69%, 16%)
HSVhsv(99, 81%, 27%)
CMYKcmyk(52.9%, 0%, 81.4%, 72.5%)
CIE-LABlab(25.96, -24.80, 28.56)
CIE-LCHlch(25.96, 37.83, 130.96°)
OKLaboklab(35.34% -0.0688 0.0644)
OKLCHoklch(35.34% 0.094 136.9)
XYZxyz(2.8899, 4.7325, 1.1419)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21460D #320D46
analogous
#3E460D #21460D #0D4616
triadic
#21460D #0D2146 #460D21
tetradic
#21460D #0D3E46 #320D46 #46160D
square
#21460D #0D3E46 #320D46 #46160D
split-complementary
#21460D #160D46 #460D3E
monochromatic
#0C1A05 #0C1A05 #21460D #397A17 #52AD20

Accessibility & contrast

On white

10.79
#21460D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#21460D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21460D
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21460D#FFFFFF#000000##FFFFFF
##21460D1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F04
Deuteranopia (green-blind)
#443C13
Tritanopia (blue-blind)
#1F433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #21460d;
/* rgb */ color: rgb(33, 70, 13);
/* oklch */ color: oklch(35.3% 0.094 136.9);
Tailwind
colors: {
  custom: {
    50: '#617a50',
    500: '#21460d',
    950: '#000000',
  },
}
SCSS
$custom: #21460d;
$custom-light: #617a50;
$custom-dark: #000000;
JSON
{
  "hex": "#21460d",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 13
  },
  "hsl": {
    "h": 98.947,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.09422,
    "h": 136.9
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#21460D
secondary
#642D81
accent
#3CECAE
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21460D

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

Preview Lab → · Contrast checker → · Palette generator →

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