#213F0B#213F0B

#213F0B is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.2% C 0.085 H 135.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#213F0B
RGBrgb(33, 63, 11)
HSLhsl(95, 70%, 15%)
HSVhsv(95, 83%, 25%)
CMYKcmyk(47.6%, 0%, 82.5%, 75.3%)
CIE-LABlab(23.35, -21.59, 26.81)
CIE-LCHlch(23.35, 34.42, 128.85°)
OKLaboklab(33.2% -0.0603 0.0604)
OKLCHoklch(33.2% 0.085 135)
XYZxyz(2.4651, 3.9024, 0.9399)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F0B #290B3F
analogous
#3B3F0B #213F0B #0B3F0F
triadic
#213F0B #0B213F #3F0B21
tetradic
#213F0B #0B3B3F #290B3F #3F0F0B
square
#213F0B #0B3B3F #290B3F #3F0F0B
split-complementary
#213F0B #0F0B3F #3F0B3B
monochromatic
#0E1A05 #0E1A05 #213F0B #3C7314 #58A71D

Accessibility & contrast

On white

11.79
#213F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#213F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F0B
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F0B#FFFFFF#000000##FFFFFF
##213F0B1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423904
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#203C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213f0b;
/* rgb */ color: rgb(33, 63, 11);
/* oklch */ color: oklch(33.2% 0.085 135.0);
Tailwind
colors: {
  custom: {
    50: '#60744e',
    500: '#213f0b',
    950: '#000000',
  },
}
SCSS
$custom: #213f0b;
$custom-light: #60744e;
$custom-dark: #000000;
JSON
{
  "hex": "#213f0b",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 94.615,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33196,
    "c": 0.08533,
    "h": 135
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#213F0B
secondary
#592A7C
accent
#3BEDA2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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