#023908#023908

#023908 is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.0% C 0.094 H 144.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#023908
RGBrgb(2, 57, 8)
HSLhsl(127, 93%, 12%)
HSVhsv(127, 96%, 22%)
CMYKcmyk(96.5%, 0%, 86%, 77.6%)
CIE-LABlab(19.87, -28.31, 23.96)
CIE-LCHlch(19.87, 37.09, 139.75°)
OKLaboklab(30% -0.0764 0.055)
OKLCHoklch(30% 0.094 144.3)
XYZxyz(1.5319, 2.9565, 0.7196)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023908 #390233
analogous
#183902 #023908 #023924
triadic
#023908 #080239 #390802
tetradic
#023908 #021839 #390233 #392402
square
#023908 #021839 #390233 #392402
split-complementary
#023908 #240239 #390218
monochromatic
#011E04 #011E04 #023908 #047410 #06AF19

Accessibility & contrast

On white

13.20
#023908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#023908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023908
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023908#FFFFFF#000000##FFFFFF
##0239081.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3202
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#003730
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #023908;
/* rgb */ color: rgb(2, 57, 8);
/* oklch */ color: oklch(30.0% 0.094 144.3);
Tailwind
colors: {
  custom: {
    50: '#4f704b',
    500: '#023908',
    950: '#000000',
  },
}
SCSS
$custom: #023908;
$custom-light: #4f704b;
$custom-dark: #000000;
JSON
{
  "hex": "#023908",
  "rgb": {
    "r": 2,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 126.545,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29997,
    "c": 0.09414,
    "h": 144.3
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#023908
secondary
#7D1A72
accent
#29E8FF
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #023908

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

Preview Lab → · Contrast checker → · Palette generator →

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