#213E12#213E12

#213E12 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.078 H 136.5°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#213E12
RGBrgb(33, 62, 18)
HSLhsl(100, 55%, 16%)
HSVhsv(100, 71%, 24%)
CMYKcmyk(46.8%, 0%, 71%, 75.7%)
CIE-LABlab(23.04, -20.40, 23.07)
CIE-LCHlch(23.04, 30.80, 131.48°)
OKLaboklab(32.97% -0.0564 0.0536)
OKLCHoklch(32.97% 0.078 136.5)
XYZxyz(2.4589, 3.8121, 1.1784)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E12 #2F123E
analogous
#373E12 #213E12 #123E19
triadic
#213E12 #12213E #3E1221
tetradic
#213E12 #12373E #2F123E #3E1912
square
#213E12 #12373E #2F123E #3E1912
split-complementary
#213E12 #19123E #3E1237
monochromatic
#0D1807 #0D1807 #213E12 #3A6D20 #539D2E

Accessibility & contrast

On white

11.92
#213E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#213E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E12
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E12#FFFFFF#000000##FFFFFF
##213E121.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380D
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#203C35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213e12;
/* rgb */ color: rgb(33, 62, 18);
/* oklch */ color: oklch(33.0% 0.078 136.5);
Tailwind
colors: {
  custom: {
    50: '#5f7352',
    500: '#213e12',
    950: '#000000',
  },
}
SCSS
$custom: #213e12;
$custom-light: #5f7352;
$custom-dark: #000000;
JSON
{
  "hex": "#213e12",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 99.545,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.32967,
    "c": 0.07782,
    "h": 136.5
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#213E12
secondary
#603577
accent
#49DEAC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213E12

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

Preview Lab → · Contrast checker → · Palette generator →

#213E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva