#023918#023918

#023918 is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.2% C 0.079 H 151.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#023918
RGBrgb(2, 57, 24)
HSLhsl(144, 93%, 12%)
HSVhsv(144, 96%, 22%)
CMYKcmyk(96.5%, 0%, 57.9%, 77.6%)
CIE-LABlab(20.06, -25.91, 15.81)
CIE-LCHlch(20.06, 30.35, 148.60°)
OKLaboklab(30.22% -0.0694 0.0384)
OKLCHoklch(30.22% 0.079 151)
XYZxyz(1.6529, 3.0049, 1.3569)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023918 #390223
analogous
#083902 #023918 #023934
triadic
#023918 #180239 #391802
tetradic
#023918 #020839 #390223 #393402
square
#023918 #020839 #390223 #393402
split-complementary
#023918 #340239 #390208
monochromatic
#011E0C #011E0C #023918 #047431 #06AF4A

Accessibility & contrast

On white

13.12
#023918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#023918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023918
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023918#FFFFFF#000000##FFFFFF
##0239181.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#332F1A
Tritanopia (blue-blind)
#003831
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #023918;
/* rgb */ color: rgb(2, 57, 24);
/* oklch */ color: oklch(30.2% 0.079 151.0);
Tailwind
colors: {
  custom: {
    50: '#4e7055',
    500: '#023918',
    950: '#000000',
  },
}
SCSS
$custom: #023918;
$custom-light: #4e7055;
$custom-dark: #000000;
JSON
{
  "hex": "#023918",
  "rgb": {
    "r": 2,
    "g": 57,
    "b": 24
  },
  "hsl": {
    "h": 144,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30222,
    "c": 0.07935,
    "h": 151
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#023918
secondary
#7D1A55
accent
#29A9FF
background
#F4F6F5
surface
#E7ECE8
border
#C3C7C4
text
#020703
muted
#787A78

Preview Lab

Preview with #023918

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

Preview Lab → · Contrast checker → · Palette generator →

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