#213008#213008

#213008 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.6% C 0.064 H 127.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#213008
RGBrgb(33, 48, 8)
HSLhsl(83, 71%, 11%)
HSVhsv(83, 83%, 19%)
CMYKcmyk(31.3%, 0%, 83.3%, 81.2%)
CIE-LABlab(17.71, -13.84, 21.78)
CIE-LCHlch(17.71, 25.80, 122.43°)
OKLaboklab(28.59% -0.0395 0.0509)
OKLCHoklch(28.59% 0.064 127.8)
XYZxyz(1.7280, 2.4547, 0.6125)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213008 #170830
analogous
#302B08 #213008 #0D3008
triadic
#213008 #082130 #300821
tetradic
#213008 #08302B #170830 #30080D
square
#213008 #08302B #170830 #30080D
split-complementary
#213008 #080D30 #2B0830
monochromatic
#121A04 #121A04 #213008 #456411 #699919

Accessibility & contrast

On white

14.08
#213008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#213008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213008
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213008#FFFFFF#000000##FFFFFF
##2130081.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C04
Deuteranopia (green-blind)
#312B0B
Tritanopia (blue-blind)
#222D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #213008;
/* rgb */ color: rgb(33, 48, 8);
/* oklch */ color: oklch(28.6% 0.064 127.8);
Tailwind
colors: {
  custom: {
    50: '#5e684b',
    500: '#213008',
    950: '#000000',
  },
}
SCSS
$custom: #213008;
$custom-light: #5e684b;
$custom-dark: #000000;
JSON
{
  "hex": "#213008",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 8
  },
  "hsl": {
    "h": 82.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28593,
    "c": 0.06444,
    "h": 127.8
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#213008
secondary
#41256F
accent
#3AEE7D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213008

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

Preview Lab → · Contrast checker → · Palette generator →

#213008 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva