#023212#023212

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

Color values

HEX#023212
RGBrgb(2, 50, 18)
HSLhsl(140, 92%, 10%)
HSVhsv(140, 96%, 20%)
CMYKcmyk(96%, 0%, 64%, 80.4%)
CIE-LABlab(17.17, -24.17, 15.92)
CIE-LCHlch(17.17, 28.94, 146.62°)
OKLaboklab(27.79% -0.0648 0.0383)
OKLCHoklch(27.79% 0.075 149.4)
XYZxyz(1.2747, 2.3376, 0.9562)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023212 #320222
analogous
#0A3202 #023212 #02322A
triadic
#023212 #120232 #321202
tetradic
#023212 #020A32 #320222 #322A02
square
#023212 #020A32 #320222 #322A02
split-complementary
#023212 #2A0232 #32020A
monochromatic
#011D0B #011D0B #023212 #046D27 #07A83C

Accessibility & contrast

On white

14.31
#023212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #023212
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023212#FFFFFF#000000##FFFFFF
##0232121.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #023212;
/* rgb */ color: rgb(2, 50, 18);
/* oklch */ color: oklch(27.8% 0.075 149.4);
Tailwind
colors: {
  custom: {
    50: '#4c6a50',
    500: '#023212',
    950: '#000000',
  },
}
SCSS
$custom: #023212;
$custom-light: #4c6a50;
$custom-dark: #000000;
JSON
{
  "hex": "#023212",
  "rgb": {
    "r": 2,
    "g": 50,
    "b": 18
  },
  "hsl": {
    "h": 140,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27787,
    "c": 0.07527,
    "h": 149.4
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#023212
secondary
#761957
accent
#29B8FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #023212

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

Preview Lab → · Contrast checker → · Palette generator →

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