#213101#213101

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

Color values

HEX#213101
RGBrgb(33, 49, 1)
HSLhsl(80, 96%, 10%)
HSVhsv(80, 98%, 19%)
CMYKcmyk(32.7%, 0%, 98%, 80.8%)
CIE-LABlab(18.02, -15.08, 25.00)
CIE-LCHlch(18.02, 29.19, 121.10°)
OKLaboklab(28.82% -0.0439 0.0583)
OKLCHoklch(28.82% 0.073 127)
XYZxyz(1.7310, 2.5221, 0.4243)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213101 #110131
analogous
#312901 #213101 #093101
triadic
#213101 #012131 #310121
tetradic
#213101 #013129 #110131 #310109
square
#213101 #013129 #110131 #310109
split-complementary
#213101 #010931 #290131
monochromatic
#141E01 #141E01 #213101 #496D02 #72A903

Accessibility & contrast

On white

13.96
#213101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#213101 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213101
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213101#FFFFFF#000000##FFFFFF
##2131011.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213101;
/* rgb */ color: rgb(33, 49, 1);
/* oklch */ color: oklch(28.8% 0.073 127.0);
Tailwind
colors: {
  custom: {
    50: '#5e6947',
    500: '#213101',
    950: '#000000',
  },
}
SCSS
$custom: #213101;
$custom-light: #5e6947;
$custom-dark: #000000;
JSON
{
  "hex": "#213101",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 1
  },
  "hsl": {
    "h": 80,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28819,
    "c": 0.07301,
    "h": 127
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#213101
secondary
#371777
accent
#29FF70
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #213101

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

Preview Lab → · Contrast checker → · Palette generator →

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