#023118#023118

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

Color values

HEX#023118
RGBrgb(2, 49, 24)
HSLhsl(148, 92%, 10%)
HSVhsv(148, 96%, 19%)
CMYKcmyk(95.9%, 0%, 51%, 80.8%)
CIE-LABlab(16.87, -22.47, 11.73)
CIE-LCHlch(16.87, 25.35, 152.43°)
OKLaboklab(27.58% -0.0604 0.0291)
OKLCHoklch(27.58% 0.067 154.3)
XYZxyz(1.2881, 2.2753, 1.2353)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023118 #31021B
analogous
#043102 #023118 #02312F
triadic
#023118 #180231 #311802
tetradic
#023118 #020431 #31021B #312F02
square
#023118 #020431 #31021B #312F02
split-complementary
#023118 #2F0231 #310204
monochromatic
#011D0E #011D0E #023118 #046C35 #07A752

Accessibility & contrast

On white

14.43
#023118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#023118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023118
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023118#FFFFFF#000000##FFFFFF
##0231181.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #023118;
/* rgb */ color: rgb(2, 49, 24);
/* oklch */ color: oklch(27.6% 0.067 154.3);
Tailwind
colors: {
  custom: {
    50: '#4b6a55',
    500: '#023118',
    950: '#000000',
  },
}
SCSS
$custom: #023118;
$custom-light: #4b6a55;
$custom-dark: #000000;
JSON
{
  "hex": "#023118",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 24
  },
  "hsl": {
    "h": 148.085,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27575,
    "c": 0.06701,
    "h": 154.3
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#023118
secondary
#75194A
accent
#299BFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010603
muted
#777A78

Preview Lab

Preview with #023118

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

Preview Lab → · Contrast checker → · Palette generator →

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