#212F10#212F10

#212F10 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.054 H 129.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#212F10
RGBrgb(33, 47, 16)
HSLhsl(87, 49%, 12%)
HSVhsv(87, 66%, 18%)
CMYKcmyk(29.8%, 0%, 66%, 81.6%)
CIE-LABlab(17.43, -12.39, 17.74)
CIE-LCHlch(17.43, 21.64, 124.93°)
OKLaboklab(28.39% -0.0346 0.042)
OKLCHoklch(28.39% 0.054 129.5)
XYZxyz(1.7372, 2.3937, 0.8606)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212F10 #1E102F
analogous
#2F2E10 #212F10 #122F10
triadic
#212F10 #10212F #2F1021
tetradic
#212F10 #102F2E #1E102F #2F1012
square
#212F10 #102F2E #1E102F #2F1012
split-complementary
#212F10 #10122F #2E102F
monochromatic
#101708 #101708 #212F10 #415D20 #618A2F

Accessibility & contrast

On white

14.20
#212F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#212F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212F10
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212F10#FFFFFF#000000##FFFFFF
##212F101.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0D
Deuteranopia (green-blind)
#2F2A12
Tritanopia (blue-blind)
#222D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #212f10;
/* rgb */ color: rgb(33, 47, 16);
/* oklch */ color: oklch(28.4% 0.054 129.5);
Tailwind
colors: {
  custom: {
    50: '#5d674f',
    500: '#212f10',
    950: '#000000',
  },
}
SCSS
$custom: #212f10;
$custom-light: #5d674f;
$custom-dark: #000000;
JSON
{
  "hex": "#212f10",
  "rgb": {
    "r": 33,
    "g": 47,
    "b": 16
  },
  "hsl": {
    "h": 87.097,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28394,
    "c": 0.05446,
    "h": 129.5
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#212F10
secondary
#4B3368
accent
#4FD98D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #212F10

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

Preview Lab → · Contrast checker → · Palette generator →

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