#21340E#21340E

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

Color values

HEX#21340E
RGBrgb(33, 52, 14)
HSLhsl(90, 58%, 13%)
HSVhsv(90, 73%, 20%)
CMYKcmyk(36.5%, 0%, 73.1%, 79.6%)
CIE-LABlab(19.27, -15.52, 20.98)
CIE-LCHlch(19.27, 26.09, 126.48°)
OKLaboklab(29.88% -0.0435 0.0487)
OKLCHoklch(29.88% 0.065 131.7)
XYZxyz(1.9344, 2.8110, 0.8560)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21340E #210E34
analogous
#34340E #21340E #0E340E
triadic
#21340E #0E2134 #340E21
tetradic
#21340E #0E3434 #210E34 #340E0E
square
#21340E #0E3434 #210E34 #340E0E
split-complementary
#21340E #0E0E34 #340E34
monochromatic
#0F1806 #0F1806 #21340E #40641B #5E9428

Accessibility & contrast

On white

13.44
#21340E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21340E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21340E#FFFFFF#000000##FFFFFF
##21340E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300A
Deuteranopia (green-blind)
#342E11
Tritanopia (blue-blind)
#22322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #21340e;
/* rgb */ color: rgb(33, 52, 14);
/* oklch */ color: oklch(29.9% 0.065 131.7);
Tailwind
colors: {
  custom: {
    50: '#5e6b4e',
    500: '#21340e',
    950: '#000000',
  },
}
SCSS
$custom: #21340e;
$custom-light: #5e6b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#21340e",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 90,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29878,
    "c": 0.06529,
    "h": 131.7
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#21340E
secondary
#4F2F6F
accent
#47E194
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21340E

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

Preview Lab → · Contrast checker → · Palette generator →

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