#213B08#213B08

#213B08 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 31.9% C 0.082 H 133.2°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#213B08
RGBrgb(33, 59, 8)
HSLhsl(91, 76%, 13%)
HSVhsv(91, 86%, 23%)
CMYKcmyk(44.1%, 0%, 86.4%, 76.9%)
CIE-LABlab(21.83, -19.82, 26.46)
CIE-LCHlch(21.83, 33.06, 126.83°)
OKLaboklab(31.95% -0.0558 0.0595)
OKLCHoklch(31.95% 0.082 133.2)
XYZxyz(2.2350, 3.4687, 0.7814)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B08 #22083B
analogous
#3A3B08 #213B08 #083B08
triadic
#213B08 #08213B #3B0821
tetradic
#213B08 #083A3B #22083B #3B0808
square
#213B08 #083A3B #22083B #3B0808
split-complementary
#213B08 #08083B #3B083A
monochromatic
#0F1B04 #0F1B04 #213B08 #3F710F #5DA717

Accessibility & contrast

On white

12.40
#213B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#213B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B08
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B08#FFFFFF#000000##FFFFFF
##213B081.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3601
Deuteranopia (green-blind)
#3A340D
Tritanopia (blue-blind)
#213831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213b08;
/* rgb */ color: rgb(33, 59, 8);
/* oklch */ color: oklch(31.9% 0.082 133.2);
Tailwind
colors: {
  custom: {
    50: '#5f714c',
    500: '#213b08',
    950: '#000000',
  },
}
SCSS
$custom: #213b08;
$custom-light: #5f714c;
$custom-dark: #000000;
JSON
{
  "hex": "#213b08",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 8
  },
  "hsl": {
    "h": 90.588,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31948,
    "c": 0.08153,
    "h": 133.2
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#213B08
secondary
#50257A
accent
#35F396
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213B08

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

Preview Lab → · Contrast checker → · Palette generator →

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