#023311#023311

#023311 is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.1% C 0.078 H 148.6°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#023311
RGBrgb(2, 51, 17)
HSLhsl(138, 92%, 10%)
HSVhsv(138, 96%, 20%)
CMYKcmyk(96.1%, 0%, 66.7%, 80%)
CIE-LABlab(17.56, -24.77, 16.99)
CIE-LCHlch(17.56, 30.03, 145.55°)
OKLaboklab(28.11% -0.0664 0.0406)
OKLCHoklch(28.11% 0.078 148.6)
XYZxyz(1.3099, 2.4209, 0.9284)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#023311 #330224
analogous
#0C3302 #023311 #023329
triadic
#023311 #110233 #331102
tetradic
#023311 #020C33 #330224 #332902
square
#023311 #020C33 #330224 #332902
split-complementary
#023311 #290233 #33020C
monochromatic
#011D0A #011D0A #023311 #046E25 #07A938

Accessibility & contrast

On white

14.15
#023311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #023311
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##023311#FFFFFF#000000##FFFFFF
##0233111.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0E
Deuteranopia (green-blind)
#2E2A14
Tritanopia (blue-blind)
#00322B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #023311;
/* rgb */ color: rgb(2, 51, 17);
/* oklch */ color: oklch(28.1% 0.078 148.6);
Tailwind
colors: {
  custom: {
    50: '#4c6b50',
    500: '#023311',
    950: '#000000',
  },
}
SCSS
$custom: #023311;
$custom-light: #4c6b50;
$custom-dark: #000000;
JSON
{
  "hex": "#023311",
  "rgb": {
    "r": 2,
    "g": 51,
    "b": 17
  },
  "hsl": {
    "h": 138.367,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28106,
    "c": 0.07782,
    "h": 148.6
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#023311
secondary
#771A5B
accent
#29BDFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020702
muted
#787A78

Preview Lab

Preview with #023311

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

Preview Lab → · Contrast checker → · Palette generator →

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