#213A0E#213A0E

#213A0E is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.075 H 134.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#213A0E
RGBrgb(33, 58, 14)
HSLhsl(94, 61%, 14%)
HSVhsv(94, 76%, 23%)
CMYKcmyk(43.1%, 0%, 75.9%, 77.3%)
CIE-LABlab(21.51, -18.76, 23.48)
CIE-LCHlch(21.51, 30.06, 128.63°)
OKLaboklab(31.7% -0.0524 0.0539)
OKLCHoklch(31.7% 0.075 134.2)
XYZxyz(2.2195, 3.3810, 0.9510)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A0E #270E3A
analogous
#373A0E #213A0E #0E3A11
triadic
#213A0E #0E213A #3A0E21
tetradic
#213A0E #0E373A #270E3A #3A110E
square
#213A0E #0E373A #270E3A #3A110E
split-complementary
#213A0E #110E3A #3A0E37
monochromatic
#0E1906 #0E1906 #213A0E #3D6B1A #599D26

Accessibility & contrast

On white

12.53
#213A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#213A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A0E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A0E#FFFFFF#000000##FFFFFF
##213A0E1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3508
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#213731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213a0e;
/* rgb */ color: rgb(33, 58, 14);
/* oklch */ color: oklch(31.7% 0.075 134.2);
Tailwind
colors: {
  custom: {
    50: '#5f704f',
    500: '#213a0e',
    950: '#000000',
  },
}
SCSS
$custom: #213a0e;
$custom-light: #5f704f;
$custom-dark: #000000;
JSON
{
  "hex": "#213a0e",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 14
  },
  "hsl": {
    "h": 94.091,
    "s": 61.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31702,
    "c": 0.07512,
    "h": 134.2
  },
  "luminance": 0.03381
}

Semantic roles & 50–950 ramp

primary
#213A0E
secondary
#572F75
accent
#44E49F
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #213A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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