#023215#023215

#023215 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.8% C 0.072 H 151.4°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#023215
RGBrgb(2, 50, 21)
HSLhsl(144, 92%, 10%)
HSVhsv(144, 96%, 20%)
CMYKcmyk(96%, 0%, 58%, 80.4%)
CIE-LABlab(17.22, -23.58, 14.11)
CIE-LCHlch(17.22, 27.48, 149.09°)
OKLaboklab(27.84% -0.0632 0.0344)
OKLCHoklch(27.84% 0.072 151.4)
XYZxyz(1.3009, 2.3481, 1.0940)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023215 #32021F
analogous
#073202 #023215 #02322D
triadic
#023215 #150232 #321502
tetradic
#023215 #020732 #32021F #322D02
square
#023215 #020732 #32021F #322D02
split-complementary
#023215 #2D0232 #320207
monochromatic
#011D0C #011D0C #023215 #046D2E #07A846

Accessibility & contrast

On white

14.29
#023215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#023215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023215
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023215#FFFFFF#000000##FFFFFF
##0232151.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D13
Deuteranopia (green-blind)
#2D2917
Tritanopia (blue-blind)
#00312B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #023215;
/* rgb */ color: rgb(2, 50, 21);
/* oklch */ color: oklch(27.8% 0.072 151.4);
Tailwind
colors: {
  custom: {
    50: '#4c6a53',
    500: '#023215',
    950: '#000000',
  },
}
SCSS
$custom: #023215;
$custom-light: #4c6a53;
$custom-dark: #000000;
JSON
{
  "hex": "#023215",
  "rgb": {
    "r": 2,
    "g": 50,
    "b": 21
  },
  "hsl": {
    "h": 143.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27844,
    "c": 0.07197,
    "h": 151.4
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#023215
secondary
#761952
accent
#29AAFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #023215

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

Preview Lab → · Contrast checker → · Palette generator →

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