#023218#023218

#023218 is a dark, moderate green. Relative luminance 0.024; OKLCH L 27.9% C 0.069 H 153.8°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#023218
RGBrgb(2, 50, 24)
HSLhsl(148, 92%, 10%)
HSVhsv(148, 96%, 20%)
CMYKcmyk(96%, 0%, 52%, 80.4%)
CIE-LABlab(17.27, -22.92, 12.26)
CIE-LCHlch(17.27, 25.99, 151.86°)
OKLaboklab(27.91% -0.0615 0.0303)
OKLCHoklch(27.91% 0.069 153.8)
XYZxyz(1.3304, 2.3599, 1.2494)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023218 #32021C
analogous
#043202 #023218 #023230
triadic
#023218 #180232 #321802
tetradic
#023218 #020432 #32021C #323002
square
#023218 #020432 #32021C #323002
split-complementary
#023218 #300232 #320204
monochromatic
#011D0E #011D0E #023218 #046D34 #07A850

Accessibility & contrast

On white

14.27
#023218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #023218
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023218#FFFFFF#000000##FFFFFF
##0232181.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D16
Deuteranopia (green-blind)
#2C291A
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #023218;
/* rgb */ color: rgb(2, 50, 24);
/* oklch */ color: oklch(27.9% 0.069 153.8);
Tailwind
colors: {
  custom: {
    50: '#4c6a55',
    500: '#023218',
    950: '#000000',
  },
}
SCSS
$custom: #023218;
$custom-light: #4c6a55;
$custom-dark: #000000;
JSON
{
  "hex": "#023218",
  "rgb": {
    "r": 2,
    "g": 50,
    "b": 24
  },
  "hsl": {
    "h": 147.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27909,
    "c": 0.06858,
    "h": 153.8
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#023218
secondary
#76194C
accent
#299DFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010603
muted
#777A78

Preview Lab

Preview with #023218

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

Preview Lab → · Contrast checker → · Palette generator →

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