#02330B#02330B

#02330B is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.0% C 0.084 H 145.8°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#02330B
RGBrgb(2, 51, 11)
HSLhsl(131, 92%, 10%)
HSVhsv(131, 96%, 20%)
CMYKcmyk(96.1%, 0%, 78.4%, 80%)
CIE-LABlab(17.48, -25.69, 19.93)
CIE-LCHlch(17.48, 32.52, 142.20°)
OKLaboklab(28.02% -0.0691 0.047)
OKLCHoklch(28.02% 0.084 145.8)
XYZxyz(1.2692, 2.4046, 0.7138)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02330B #33022A
analogous
#123302 #02330B #023323
triadic
#02330B #0B0233 #330B02
tetradic
#02330B #021233 #33022A #332302
square
#02330B #021233 #33022A #332302
split-complementary
#02330B #230233 #330212
monochromatic
#011D06 #011D06 #02330B #046E18 #07A924

Accessibility & contrast

On white

14.18
#02330B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#02330B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02330B
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02330B#FFFFFF#000000##FFFFFF
##02330B1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D06
Deuteranopia (green-blind)
#2F290F
Tritanopia (blue-blind)
#00312B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #02330b;
/* rgb */ color: rgb(2, 51, 11);
/* oklch */ color: oklch(28.0% 0.084 145.8);
Tailwind
colors: {
  custom: {
    50: '#4d6b4c',
    500: '#02330b',
    950: '#000000',
  },
}
SCSS
$custom: #02330b;
$custom-light: #4d6b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#02330b",
  "rgb": {
    "r": 2,
    "g": 51,
    "b": 11
  },
  "hsl": {
    "h": 131.02,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28018,
    "c": 0.08361,
    "h": 145.8
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#02330B
secondary
#771A66
accent
#29D8FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #02330B

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

Preview Lab → · Contrast checker → · Palette generator →

#02330B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva