#213F0E#213F0E

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

Color values

HEX#213F0E
RGBrgb(33, 63, 14)
HSLhsl(97, 64%, 15%)
HSVhsv(97, 78%, 25%)
CMYKcmyk(47.6%, 0%, 77.8%, 75.3%)
CIE-LABlab(23.37, -21.33, 25.46)
CIE-LCHlch(23.37, 33.21, 129.95°)
OKLaboklab(33.23% -0.0593 0.058)
OKLCHoklch(33.23% 0.083 135.6)
XYZxyz(2.4839, 3.9099, 1.0392)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F0E #2C0E3F
analogous
#393F0E #213F0E #0E3F14
triadic
#213F0E #0E213F #3F0E21
tetradic
#213F0E #0E393F #2C0E3F #3F140E
square
#213F0E #0E393F #2C0E3F #3F140E
split-complementary
#213F0E #140E3F #3F0E39
monochromatic
#0D1906 #0D1906 #213F0E #3B7119 #55A324

Accessibility & contrast

On white

11.78
#213F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213F0E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F0E#FFFFFF#000000##FFFFFF
##213F0E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213f0e;
/* rgb */ color: rgb(33, 63, 14);
/* oklch */ color: oklch(33.2% 0.083 135.6);
Tailwind
colors: {
  custom: {
    50: '#5f744f',
    500: '#213f0e',
    950: '#000000',
  },
}
SCSS
$custom: #213f0e;
$custom-light: #5f744f;
$custom-dark: #000000;
JSON
{
  "hex": "#213f0e",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 14
  },
  "hsl": {
    "h": 96.735,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33225,
    "c": 0.08298,
    "h": 135.6
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#213F0E
secondary
#5D2F7A
accent
#41E7A6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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