#21460B#21460B

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

Color values

HEX#21460B
RGBrgb(33, 70, 11)
HSLhsl(98, 73%, 16%)
HSVhsv(98, 84%, 27%)
CMYKcmyk(52.9%, 0%, 84.3%, 72.5%)
CIE-LABlab(25.94, -24.96, 29.38)
CIE-LCHlch(25.94, 38.55, 130.35°)
OKLaboklab(35.33% -0.0694 0.0657)
OKLCHoklch(35.33% 0.096 136.6)
XYZxyz(2.8777, 4.7276, 1.0774)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21460B #300B46
analogous
#3E460B #21460B #0B4612
triadic
#21460B #0B2146 #460B21
tetradic
#21460B #0B3E46 #300B46 #46120B
square
#21460B #0B3E46 #300B46 #46120B
split-complementary
#21460B #120B46 #460B3E
monochromatic
#0C1A04 #0C1A04 #21460B #3A7B13 #53B01C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21460B#FFFFFF#000000##FFFFFF
##21460B1.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)
#493F02
Deuteranopia (green-blind)
#443C11
Tritanopia (blue-blind)
#1F433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #21460b;
/* rgb */ color: rgb(33, 70, 11);
/* oklch */ color: oklch(35.3% 0.096 136.6);
Tailwind
colors: {
  custom: {
    50: '#617a4f',
    500: '#21460b',
    950: '#000000',
  },
}
SCSS
$custom: #21460b;
$custom-light: #617a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#21460b",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 97.627,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35328,
    "c": 0.09558,
    "h": 136.6
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#21460B
secondary
#622A82
accent
#38F0AB
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #21460B

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

Preview Lab → · Contrast checker → · Palette generator →

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