#023012#023012

#023012 is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.1% C 0.072 H 150.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#023012
RGBrgb(2, 48, 18)
HSLhsl(141, 92%, 10%)
HSVhsv(141, 96%, 19%)
CMYKcmyk(95.8%, 0%, 62.5%, 81.2%)
CIE-LABlab(16.36, -23.33, 14.92)
CIE-LCHlch(16.36, 27.70, 147.40°)
OKLaboklab(27.11% -0.0625 0.0361)
OKLCHoklch(27.11% 0.072 150)
XYZxyz(1.1911, 2.1703, 0.9283)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023012 #300220
analogous
#093002 #023012 #023029
triadic
#023012 #120230 #301202
tetradic
#023012 #020930 #300220 #302902
square
#023012 #020930 #300220 #302902
split-complementary
#023012 #290230 #300209
monochromatic
#011D0B #011D0B #023012 #046B28 #07A63E

Accessibility & contrast

On white

14.64
#023012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#023012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023012
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023012#FFFFFF#000000##FFFFFF
##0230121.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B0F
Deuteranopia (green-blind)
#2B2714
Tritanopia (blue-blind)
#002F29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #023012;
/* rgb */ color: rgb(2, 48, 18);
/* oklch */ color: oklch(27.1% 0.072 150.0);
Tailwind
colors: {
  custom: {
    50: '#4b6950',
    500: '#023012',
    950: '#000000',
  },
}
SCSS
$custom: #023012;
$custom-light: #4b6950;
$custom-dark: #000000;
JSON
{
  "hex": "#023012",
  "rgb": {
    "r": 2,
    "g": 48,
    "b": 18
  },
  "hsl": {
    "h": 140.87,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27114,
    "c": 0.0722,
    "h": 150
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#023012
secondary
#751955
accent
#29B4FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #023012

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

Preview Lab → · Contrast checker → · Palette generator →

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