#213F08#213F08

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

Color values

HEX#213F08
RGBrgb(33, 63, 8)
HSLhsl(93, 77%, 14%)
HSVhsv(93, 87%, 25%)
CMYKcmyk(47.6%, 0%, 87.3%, 75.3%)
CIE-LABlab(23.32, -21.83, 28.02)
CIE-LCHlch(23.32, 35.52, 127.92°)
OKLaboklab(33.17% -0.0612 0.0625)
OKLCHoklch(33.17% 0.087 134.4)
XYZxyz(2.4485, 3.8957, 0.8526)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F08 #26083F
analogous
#3D3F08 #213F08 #083F0B
triadic
#213F08 #08213F #3F0821
tetradic
#213F08 #083D3F #26083F #3F0B08
square
#213F08 #083D3F #26083F #3F0B08
split-complementary
#213F08 #0B083F #3F083D
monochromatic
#0E1B03 #0E1B03 #213F08 #3D750F #5AAC16

Accessibility & contrast

On white

11.80
#213F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213F08
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F08#FFFFFF#000000##FFFFFF
##213F081.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3E370E
Tritanopia (blue-blind)
#213C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213f08;
/* rgb */ color: rgb(33, 63, 8);
/* oklch */ color: oklch(33.2% 0.087 134.4);
Tailwind
colors: {
  custom: {
    50: '#60744c',
    500: '#213f08',
    950: '#000000',
  },
}
SCSS
$custom: #213f08;
$custom-light: #60744c;
$custom-dark: #000000;
JSON
{
  "hex": "#213f08",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 92.727,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3317,
    "c": 0.08746,
    "h": 134.4
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#213F08
secondary
#55257E
accent
#34F49D
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213F08

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

Preview Lab → · Contrast checker → · Palette generator →

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