#213006#213006

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

Color values

HEX#213006
RGBrgb(33, 48, 6)
HSLhsl(81, 78%, 11%)
HSVhsv(81, 88%, 19%)
CMYKcmyk(31.3%, 0%, 87.5%, 81.2%)
CIE-LABlab(17.69, -14.03, 22.57)
CIE-LCHlch(17.69, 26.58, 121.87°)
OKLaboklab(28.57% -0.0403 0.0528)
OKLCHoklch(28.57% 0.066 127.4)
XYZxyz(1.7170, 2.4504, 0.5548)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213006 #150630
analogous
#302A06 #213006 #0C3006
triadic
#213006 #062130 #300621
tetradic
#213006 #06302A #150630 #30060C
square
#213006 #06302A #150630 #30060C
split-complementary
#213006 #060C30 #2A0630
monochromatic
#131B03 #131B03 #213006 #46660D #6C9D14

Accessibility & contrast

On white

14.09
#213006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213006
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213006#FFFFFF#000000##FFFFFF
##2130061.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C01
Deuteranopia (green-blind)
#312B09
Tritanopia (blue-blind)
#232D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #213006;
/* rgb */ color: rgb(33, 48, 6);
/* oklch */ color: oklch(28.6% 0.066 127.4);
Tailwind
colors: {
  custom: {
    50: '#5e684a',
    500: '#213006',
    950: '#000000',
  },
}
SCSS
$custom: #213006;
$custom-light: #5e684a;
$custom-dark: #000000;
JSON
{
  "hex": "#213006",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 6
  },
  "hsl": {
    "h": 81.429,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2857,
    "c": 0.0664,
    "h": 127.4
  },
  "luminance": 0.0245
}

Semantic roles & 50–950 ramp

primary
#213006
secondary
#3E2171
accent
#34F478
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213006

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

Preview Lab → · Contrast checker → · Palette generator →

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