#213007#213007

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

Color values

HEX#213007
RGBrgb(33, 48, 7)
HSLhsl(82, 75%, 11%)
HSVhsv(82, 85%, 19%)
CMYKcmyk(31.3%, 0%, 85.4%, 81.2%)
CIE-LABlab(17.70, -13.94, 22.17)
CIE-LCHlch(17.70, 26.19, 122.15°)
OKLaboklab(28.58% -0.0399 0.0518)
OKLCHoklch(28.58% 0.065 127.6)
XYZxyz(1.7225, 2.4525, 0.5836)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213007 #160730
analogous
#302A07 #213007 #0C3007
triadic
#213007 #072130 #300721
tetradic
#213007 #07302A #160730 #30070C
square
#213007 #07302A #160730 #30070C
split-complementary
#213007 #070C30 #2A0730
monochromatic
#121B04 #121B04 #213007 #46650F #6A9B17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213007#FFFFFF#000000##FFFFFF
##2130071.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)
#332C02
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#232D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #213007;
/* rgb */ color: rgb(33, 48, 7);
/* oklch */ color: oklch(28.6% 0.065 127.6);
Tailwind
colors: {
  custom: {
    50: '#5e684a',
    500: '#213007',
    950: '#000000',
  },
}
SCSS
$custom: #213007;
$custom-light: #5e684a;
$custom-dark: #000000;
JSON
{
  "hex": "#213007",
  "rgb": {
    "r": 33,
    "g": 48,
    "b": 7
  },
  "hsl": {
    "h": 81.951,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28581,
    "c": 0.06542,
    "h": 127.6
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#213007
secondary
#3F2370
accent
#37F17B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213007

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

Preview Lab → · Contrast checker → · Palette generator →

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