#215F0C#215F0C

#215F0C is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.9% C 0.128 H 139.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#215F0C
RGBrgb(33, 95, 12)
HSLhsl(105, 78%, 21%)
HSVhsv(105, 87%, 37%)
CMYKcmyk(65.3%, 0%, 87.4%, 62.7%)
CIE-LABlab(35.07, -35.50, 37.65)
CIE-LCHlch(35.07, 51.75, 133.32°)
OKLaboklab(42.86% -0.0977 0.0832)
OKLCHoklch(42.86% 0.128 139.6)
XYZxyz(4.7856, 8.5339, 1.7428)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215F0C #4A0C5F
analogous
#4A5F0C #215F0C #0C5F20
triadic
#215F0C #0C215F #5F0C21
tetradic
#215F0C #0C4A5F #4A0C5F #5F200C
square
#215F0C #0C4A5F #4A0C5F #5F200C
split-complementary
#215F0C #200C5F #5F0C4A
monochromatic
#091B03 #0E2905 #215F0C #349513 #47CC1A

Accessibility & contrast

On white

7.76
#215F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#215F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215F0C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215F0C#FFFFFF#000000##FFFFFF
##215F0C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5A5117
Tritanopia (blue-blind)
#195C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #215f0c;
/* rgb */ color: rgb(33, 95, 12);
/* oklch */ color: oklch(42.9% 0.128 139.6);
Tailwind
colors: {
  custom: {
    50: '#668d54',
    500: '#215f0c',
    950: '#000000',
  },
}
SCSS
$custom: #215f0c;
$custom-light: #668d54;
$custom-dark: #000000;
JSON
{
  "hex": "#215f0c",
  "rgb": {
    "r": 33,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 104.819,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.1283,
    "h": 139.6
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#215F0C
secondary
#7E2D99
accent
#34F4C3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #215F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#215F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva