#213A08#213A08

#213A08 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.6% C 0.080 H 132.8°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#213A08
RGBrgb(33, 58, 8)
HSLhsl(90, 76%, 13%)
HSVhsv(90, 86%, 23%)
CMYKcmyk(43.1%, 0%, 86.2%, 77.3%)
CIE-LABlab(21.46, -19.30, 26.06)
CIE-LCHlch(21.46, 32.43, 126.53°)
OKLaboklab(31.64% -0.0544 0.0587)
OKLCHoklch(31.64% 0.08 132.8)
XYZxyz(2.1841, 3.3669, 0.7645)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A08 #21083A
analogous
#3A3A08 #213A08 #083A08
triadic
#213A08 #08213A #3A0821
tetradic
#213A08 #083A3A #21083A #3A0808
square
#213A08 #083A3A #21083A #3A0808
split-complementary
#213A08 #08083A #3A083A
monochromatic
#0F1B04 #0F1B04 #213A08 #40700F #5EA617

Accessibility & contrast

On white

12.55
#213A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#213A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A08
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A08#FFFFFF#000000##FFFFFF
##213A081.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3502
Deuteranopia (green-blind)
#39330D
Tritanopia (blue-blind)
#213730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213a08;
/* rgb */ color: rgb(33, 58, 8);
/* oklch */ color: oklch(31.6% 0.080 132.8);
Tailwind
colors: {
  custom: {
    50: '#5f704c',
    500: '#213a08',
    950: '#000000',
  },
}
SCSS
$custom: #213a08;
$custom-light: #5f704c;
$custom-dark: #000000;
JSON
{
  "hex": "#213a08",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 90,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31643,
    "c": 0.08002,
    "h": 132.8
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#213A08
secondary
#4F2579
accent
#35F294
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213A08

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

Preview Lab → · Contrast checker → · Palette generator →

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