#213103#213103

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

Color values

HEX#213103
RGBrgb(33, 49, 3)
HSLhsl(81, 88%, 10%)
HSVhsv(81, 94%, 19%)
CMYKcmyk(32.7%, 0%, 93.9%, 80.8%)
CIE-LABlab(18.04, -14.89, 24.21)
CIE-LCHlch(18.04, 28.42, 121.59°)
OKLaboklab(28.84% -0.0431 0.0564)
OKLCHoklch(28.84% 0.071 127.4)
XYZxyz(1.7420, 2.5265, 0.4820)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213103 #130331
analogous
#312A03 #213103 #0A3103
triadic
#213103 #032131 #310321
tetradic
#213103 #03312A #130331 #31030A
square
#213103 #03312A #130331 #31030A
split-complementary
#213103 #030A31 #2A0331
monochromatic
#131D02 #131D02 #213103 #486B07 #6FA40A

Accessibility & contrast

On white

13.95
#213103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213103
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213103#FFFFFF#000000##FFFFFF
##2131031.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#232E28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #213103;
/* rgb */ color: rgb(33, 49, 3);
/* oklch */ color: oklch(28.8% 0.071 127.4);
Tailwind
colors: {
  custom: {
    50: '#5e6948',
    500: '#213103',
    950: '#000000',
  },
}
SCSS
$custom: #213103;
$custom-light: #5e6948;
$custom-dark: #000000;
JSON
{
  "hex": "#213103",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 80.87,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28841,
    "c": 0.07094,
    "h": 127.4
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#213103
secondary
#3A1B74
accent
#29FF73
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #213103

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

Preview Lab → · Contrast checker → · Palette generator →

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