#212F06#212F06

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

Color values

HEX#212F06
RGBrgb(33, 47, 6)
HSLhsl(80, 77%, 10%)
HSVhsv(80, 87%, 18%)
CMYKcmyk(29.8%, 0%, 87.2%, 81.6%)
CIE-LABlab(17.32, -13.45, 22.12)
CIE-LCHlch(17.32, 25.89, 121.31°)
OKLaboklab(28.27% -0.0387 0.052)
OKLCHoklch(28.27% 0.065 126.7)
XYZxyz(1.6766, 2.3695, 0.5413)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F06 #14062F
analogous
#2F2806 #212F06 #0C2F06
triadic
#212F06 #06212F #2F0621
tetradic
#212F06 #062F28 #14062F #2F060C
square
#212F06 #062F28 #14062F #2F060C
split-complementary
#212F06 #060C2F #28062F
monochromatic
#131B03 #131B03 #212F06 #47650D #6D9C14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##212F06#FFFFFF#000000##FFFFFF
##212F061.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)
#322B02
Deuteranopia (green-blind)
#302A09
Tritanopia (blue-blind)
#232C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #212f06;
/* rgb */ color: rgb(33, 47, 6);
/* oklch */ color: oklch(28.3% 0.065 126.7);
Tailwind
colors: {
  custom: {
    50: '#5e674a',
    500: '#212f06',
    950: '#000000',
  },
}
SCSS
$custom: #212f06;
$custom-light: #5e674a;
$custom-dark: #000000;
JSON
{
  "hex": "#212f06",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 80.488,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28266,
    "c": 0.06484,
    "h": 126.7
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#212F06
secondary
#3C2170
accent
#34F475
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #212F06

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

Preview Lab → · Contrast checker → · Palette generator →

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