#023117#023117

#023117 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.6% C 0.068 H 153.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#023117
RGBrgb(2, 49, 23)
HSLhsl(147, 92%, 10%)
HSVhsv(147, 96%, 19%)
CMYKcmyk(95.9%, 0%, 53.1%, 80.8%)
CIE-LABlab(16.85, -22.70, 12.36)
CIE-LCHlch(16.85, 25.85, 151.43°)
OKLaboklab(27.55% -0.0609 0.0305)
OKLCHoklch(27.55% 0.068 153.4)
XYZxyz(1.2779, 2.2712, 1.1815)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023117 #31021C
analogous
#043102 #023117 #02312F
triadic
#023117 #170231 #311702
tetradic
#023117 #020431 #31021C #312F02
square
#023117 #020431 #31021C #312F02
split-complementary
#023117 #2F0231 #310204
monochromatic
#011D0E #011D0E #023117 #046C33 #07A74E

Accessibility & contrast

On white

14.44
#023117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#023117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023117
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023117#FFFFFF#000000##FFFFFF
##0231171.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C15
Deuteranopia (green-blind)
#2C2819
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #023117;
/* rgb */ color: rgb(2, 49, 23);
/* oklch */ color: oklch(27.6% 0.068 153.4);
Tailwind
colors: {
  custom: {
    50: '#4c6a54',
    500: '#023117',
    950: '#000000',
  },
}
SCSS
$custom: #023117;
$custom-light: #4c6a54;
$custom-dark: #000000;
JSON
{
  "hex": "#023117",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 23
  },
  "hsl": {
    "h": 146.809,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27553,
    "c": 0.06815,
    "h": 153.4
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#023117
secondary
#75194C
accent
#299FFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #023117

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

Preview Lab → · Contrast checker → · Palette generator →

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