#213402#213402

#213402 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.7% C 0.076 H 128.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#213402
RGBrgb(33, 52, 2)
HSLhsl(83, 93%, 11%)
HSVhsv(83, 96%, 20%)
CMYKcmyk(36.5%, 0%, 96.2%, 79.6%)
CIE-LABlab(19.16, -16.65, 25.93)
CIE-LCHlch(19.16, 30.81, 122.70°)
OKLaboklab(29.75% -0.0479 0.0594)
OKLCHoklch(29.75% 0.076 128.9)
XYZxyz(1.8661, 2.7836, 0.4964)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213402 #150234
analogous
#342E02 #213402 #083402
triadic
#213402 #022134 #340221
tetradic
#213402 #02342E #150234 #340208
square
#213402 #02342E #150234 #340208
split-complementary
#213402 #020834 #2E0234
monochromatic
#131D01 #131D01 #213402 #466F04 #6CAA07

Accessibility & contrast

On white

13.49
#213402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#213402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213402
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213402#FFFFFF#000000##FFFFFF
##2134021.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#352E06
Tritanopia (blue-blind)
#22312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #213402;
/* rgb */ color: rgb(33, 52, 2);
/* oklch */ color: oklch(29.7% 0.076 128.9);
Tailwind
colors: {
  custom: {
    50: '#5e6b48',
    500: '#213402',
    950: '#000000',
  },
}
SCSS
$custom: #213402;
$custom-light: #5e6b48;
$custom-dark: #000000;
JSON
{
  "hex": "#213402",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 82.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29748,
    "c": 0.07633,
    "h": 128.9
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#213402
secondary
#3E1A78
accent
#29FF7A
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #213402

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

Preview Lab → · Contrast checker → · Palette generator →

#213402 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva