#213C0E#213C0E

#213C0E is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.3% C 0.078 H 134.8°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#213C0E
RGBrgb(33, 60, 14)
HSLhsl(95, 62%, 15%)
HSVhsv(95, 77%, 24%)
CMYKcmyk(45%, 0%, 76.7%, 76.5%)
CIE-LABlab(22.25, -19.80, 24.28)
CIE-LCHlch(22.25, 31.33, 129.20°)
OKLaboklab(32.31% -0.0552 0.0556)
OKLCHoklch(32.31% 0.078 134.8)
XYZxyz(2.3223, 3.5866, 0.9853)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C0E #290E3C
analogous
#383C0E #213C0E #0E3C12
triadic
#213C0E #0E213C #3C0E21
tetradic
#213C0E #0E383C #290E3C #3C120E
square
#213C0E #0E383C #290E3C #3C120E
split-complementary
#213C0E #120E3C #3C0E38
monochromatic
#0E1906 #0E1906 #213C0E #3C6E1A #589F25

Accessibility & contrast

On white

12.23
#213C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#213C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C0E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C0E#FFFFFF#000000##FFFFFF
##213C0E1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3708
Deuteranopia (green-blind)
#3B3412
Tritanopia (blue-blind)
#213933
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213c0e;
/* rgb */ color: rgb(33, 60, 14);
/* oklch */ color: oklch(32.3% 0.078 134.8);
Tailwind
colors: {
  custom: {
    50: '#5f724f',
    500: '#213c0e',
    950: '#000000',
  },
}
SCSS
$custom: #213c0e;
$custom-light: #5f724f;
$custom-dark: #000000;
JSON
{
  "hex": "#213c0e",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 14
  },
  "hsl": {
    "h": 95.217,
    "s": 62.162,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32311,
    "c": 0.07831,
    "h": 134.8
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#213C0E
secondary
#592F77
accent
#43E5A2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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