#21340D#21340D

#21340D is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.9% C 0.066 H 131.4°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#21340D
RGBrgb(33, 52, 13)
HSLhsl(89, 60%, 13%)
HSVhsv(89, 75%, 20%)
CMYKcmyk(36.5%, 0%, 75%, 79.6%)
CIE-LABlab(19.26, -15.62, 21.46)
CIE-LCHlch(19.26, 26.54, 126.05°)
OKLaboklab(29.87% -0.0439 0.0497)
OKLCHoklch(29.87% 0.066 131.4)
XYZxyz(1.9278, 2.8083, 0.8212)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21340D #200D34
analogous
#34330D #21340D #0D340D
triadic
#21340D #0D2134 #340D21
tetradic
#21340D #0D3433 #200D34 #340D0D
square
#21340D #0D3433 #200D34 #340D0D
split-complementary
#21340D #0D0D34 #330D34
monochromatic
#101806 #101806 #21340D #406519 #5F9625

Accessibility & contrast

On white

13.45
#21340D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#21340D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21340D
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21340D#FFFFFF#000000##FFFFFF
##21340D1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373008
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#22322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #21340d;
/* rgb */ color: rgb(33, 52, 13);
/* oklch */ color: oklch(29.9% 0.066 131.4);
Tailwind
colors: {
  custom: {
    50: '#5e6b4e',
    500: '#21340d',
    950: '#000000',
  },
}
SCSS
$custom: #21340d;
$custom-light: #5e6b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#21340d",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 89.231,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29865,
    "c": 0.06628,
    "h": 131.4
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#21340D
secondary
#4E2D6F
accent
#45E392
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21340D

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

Preview Lab → · Contrast checker → · Palette generator →

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