#213107#213107

#213107 is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.9% C 0.067 H 128.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#213107
RGBrgb(33, 49, 7)
HSLhsl(83, 75%, 11%)
HSVhsv(83, 86%, 19%)
CMYKcmyk(32.7%, 0%, 85.7%, 80.8%)
CIE-LABlab(18.08, -14.51, 22.62)
CIE-LCHlch(18.08, 26.88, 122.67°)
OKLaboklab(28.89% -0.0415 0.0526)
OKLCHoklch(28.89% 0.067 128.2)
XYZxyz(1.7639, 2.5353, 0.5974)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213107 #170731
analogous
#312C07 #213107 #0C3107
triadic
#213107 #072131 #310721
tetradic
#213107 #07312C #170731 #31070C
square
#213107 #07312C #170731 #31070C
split-complementary
#213107 #070C31 #2C0731
monochromatic
#121B04 #121B04 #213107 #45670F #699C16

Accessibility & contrast

On white

13.93
#213107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#213107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213107
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213107#FFFFFF#000000##FFFFFF
##2131071.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D02
Deuteranopia (green-blind)
#322C0B
Tritanopia (blue-blind)
#222E29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #213107;
/* rgb */ color: rgb(33, 49, 7);
/* oklch */ color: oklch(28.9% 0.067 128.2);
Tailwind
colors: {
  custom: {
    50: '#5e694a',
    500: '#213107',
    950: '#000000',
  },
}
SCSS
$custom: #213107;
$custom-light: #5e694a;
$custom-dark: #000000;
JSON
{
  "hex": "#213107",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 82.857,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28886,
    "c": 0.06699,
    "h": 128.2
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#213107
secondary
#412371
accent
#36F27E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213107

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

Preview Lab → · Contrast checker → · Palette generator →

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