#213B0F#213B0F

#213B0F is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.0% C 0.076 H 134.8°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#213B0F
RGBrgb(33, 59, 15)
HSLhsl(95, 59%, 15%)
HSVhsv(95, 75%, 23%)
CMYKcmyk(44.1%, 0%, 74.6%, 76.9%)
CIE-LABlab(21.89, -19.18, 23.38)
CIE-LCHlch(21.89, 30.25, 129.37°)
OKLaboklab(32.02% -0.0534 0.0538)
OKLCHoklch(32.02% 0.076 134.8)
XYZxyz(2.2773, 3.4856, 1.0046)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B0F #290F3B
analogous
#373B0F #213B0F #0F3B13
triadic
#213B0F #0F213B #3B0F21
tetradic
#213B0F #0F373B #290F3B #3B130F
square
#213B0F #0F373B #290F3B #3B130F
split-complementary
#213B0F #130F3B #3B0F37
monochromatic
#0E1806 #0E1806 #213B0F #3C6C1B #589D28

Accessibility & contrast

On white

12.37
#213B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#213B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B0F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B0F#FFFFFF#000000##FFFFFF
##213B0F1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3609
Deuteranopia (green-blind)
#3A3413
Tritanopia (blue-blind)
#213832
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213b0f;
/* rgb */ color: rgb(33, 59, 15);
/* oklch */ color: oklch(32.0% 0.076 134.8);
Tailwind
colors: {
  custom: {
    50: '#5f7150',
    500: '#213b0f',
    950: '#000000',
  },
}
SCSS
$custom: #213b0f;
$custom-light: #5f7150;
$custom-dark: #000000;
JSON
{
  "hex": "#213b0f",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 15
  },
  "hsl": {
    "h": 95.455,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32018,
    "c": 0.07582,
    "h": 134.8
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#213B0F
secondary
#593075
accent
#45E3A2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #213B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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