#023308#023308

#023308 is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.0% C 0.086 H 144.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#023308
RGBrgb(2, 51, 8)
HSLhsl(127, 92%, 10%)
HSVhsv(127, 96%, 20%)
CMYKcmyk(96.1%, 0%, 84.3%, 80%)
CIE-LABlab(17.45, -26.08, 21.13)
CIE-LCHlch(17.45, 33.56, 140.99°)
OKLaboklab(27.98% -0.0703 0.0498)
OKLCHoklch(27.98% 0.086 144.7)
XYZxyz(1.2526, 2.3979, 0.6265)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023308 #33022D
analogous
#143302 #023308 #023320
triadic
#023308 #080233 #330802
tetradic
#023308 #021433 #33022D #332002
square
#023308 #021433 #33022D #332002
split-complementary
#023308 #200233 #330214
monochromatic
#011D05 #011D05 #023308 #046E11 #07A91A

Accessibility & contrast

On white

14.19
#023308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#023308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #023308
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023308#FFFFFF#000000##FFFFFF
##0233081.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D03
Deuteranopia (green-blind)
#2F290C
Tritanopia (blue-blind)
#00312A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #023308;
/* rgb */ color: rgb(2, 51, 8);
/* oklch */ color: oklch(28.0% 0.086 144.7);
Tailwind
colors: {
  custom: {
    50: '#4d6b4b',
    500: '#023308',
    950: '#000000',
  },
}
SCSS
$custom: #023308;
$custom-light: #4d6b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#023308",
  "rgb": {
    "r": 2,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 127.347,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27983,
    "c": 0.08619,
    "h": 144.7
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#023308
secondary
#771A6C
accent
#29E5FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #023308

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

Preview Lab → · Contrast checker → · Palette generator →

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