#212F05#212F05

#212F05 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.3% C 0.066 H 126.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#212F05
RGBrgb(33, 47, 5)
HSLhsl(80, 81%, 10%)
HSVhsv(80, 89%, 18%)
CMYKcmyk(29.8%, 0%, 89.4%, 81.6%)
CIE-LABlab(17.31, -13.55, 22.51)
CIE-LCHlch(17.31, 26.28, 121.05°)
OKLaboklab(28.25% -0.0391 0.053)
OKLCHoklch(28.25% 0.066 126.4)
XYZxyz(1.6711, 2.3673, 0.5124)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F05 #13052F
analogous
#2F2805 #212F05 #0C2F05
triadic
#212F05 #05212F #2F0521
tetradic
#212F05 #052F28 #13052F #2F050C
square
#212F05 #052F28 #13052F #2F050C
split-complementary
#212F05 #050C2F #28052F
monochromatic
#131C03 #131C03 #212F05 #48660B #6F9E11

Accessibility & contrast

On white

14.25
#212F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#212F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212F05
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F05#FFFFFF#000000##FFFFFF
##212F051.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B01
Deuteranopia (green-blind)
#302A08
Tritanopia (blue-blind)
#232C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #212f05;
/* rgb */ color: rgb(33, 47, 5);
/* oklch */ color: oklch(28.3% 0.066 126.4);
Tailwind
colors: {
  custom: {
    50: '#5e6749',
    500: '#212f05',
    950: '#000000',
  },
}
SCSS
$custom: #212f05;
$custom-light: #5e6749;
$custom-dark: #000000;
JSON
{
  "hex": "#212f05",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 80,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.28254,
    "c": 0.06586,
    "h": 126.4
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#212F05
secondary
#3A1F71
accent
#31F773
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #212F05

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

Preview Lab → · Contrast checker → · Palette generator →

#212F05 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva