#21430B#21430B

#21430B is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.4% C 0.091 H 135.9°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#21430B
RGBrgb(33, 67, 11)
HSLhsl(96, 72%, 15%)
HSVhsv(96, 84%, 26%)
CMYKcmyk(50.7%, 0%, 83.6%, 73.7%)
CIE-LABlab(24.83, -23.54, 28.29)
CIE-LCHlch(24.83, 36.80, 129.76°)
OKLaboklab(34.42% -0.0656 0.0635)
OKLCHoklch(34.42% 0.091 135.9)
XYZxyz(2.6947, 4.3616, 1.0164)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21430B #2D0B43
analogous
#3D430B #21430B #0B4311
triadic
#21430B #0B2143 #430B21
tetradic
#21430B #0B3D43 #2D0B43 #43110B
square
#21430B #0B3D43 #2D0B43 #43110B
split-complementary
#21430B #110B43 #430B3D
monochromatic
#0D1A04 #0D1A04 #21430B #3B7814 #55AC1C

Accessibility & contrast

On white

11.22
#21430B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#21430B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21430B
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21430B#FFFFFF#000000##FFFFFF
##21430B1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D03
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#204038
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #21430b;
/* rgb */ color: rgb(33, 67, 11);
/* oklch */ color: oklch(34.4% 0.091 135.9);
Tailwind
colors: {
  custom: {
    50: '#60774e',
    500: '#21430b',
    950: '#000000',
  },
}
SCSS
$custom: #21430b;
$custom-light: #60774e;
$custom-dark: #000000;
JSON
{
  "hex": "#21430b",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 11
  },
  "hsl": {
    "h": 96.429,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34415,
    "c": 0.09125,
    "h": 135.9
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#21430B
secondary
#5E2A80
accent
#39EFA7
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #21430B

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

Preview Lab → · Contrast checker → · Palette generator →

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