#023312#023312

#023312 is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.1% C 0.077 H 149.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#023312
RGBrgb(2, 51, 18)
HSLhsl(140, 92%, 10%)
HSVhsv(140, 96%, 20%)
CMYKcmyk(96.1%, 0%, 64.7%, 80%)
CIE-LABlab(17.57, -24.59, 16.41)
CIE-LCHlch(17.57, 29.56, 146.27°)
OKLaboklab(28.12% -0.0659 0.0394)
OKLCHoklch(28.12% 0.077 149.1)
XYZxyz(1.3179, 2.4241, 0.9706)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023312 #330223
analogous
#0A3302 #023312 #02332A
triadic
#023312 #120233 #331202
tetradic
#023312 #020A33 #330223 #332A02
square
#023312 #020A33 #330223 #332A02
split-complementary
#023312 #2A0233 #33020A
monochromatic
#011D0A #011D0A #023312 #046E27 #07A93C

Accessibility & contrast

On white

14.14
#023312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#023312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023312
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023312#FFFFFF#000000##FFFFFF
##0233121.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0F
Deuteranopia (green-blind)
#2E2A15
Tritanopia (blue-blind)
#00322C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #023312;
/* rgb */ color: rgb(2, 51, 18);
/* oklch */ color: oklch(28.1% 0.077 149.1);
Tailwind
colors: {
  custom: {
    50: '#4c6b50',
    500: '#023312',
    950: '#000000',
  },
}
SCSS
$custom: #023312;
$custom-light: #4c6b50;
$custom-dark: #000000;
JSON
{
  "hex": "#023312",
  "rgb": {
    "r": 2,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 139.592,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28123,
    "c": 0.07677,
    "h": 149.1
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#023312
secondary
#771A59
accent
#29B9FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020702
muted
#787A78

Preview Lab

Preview with #023312

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

Preview Lab → · Contrast checker → · Palette generator →

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