#02330C#02330C

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

Color values

HEX#02330C
RGBrgb(2, 51, 12)
HSLhsl(132, 92%, 10%)
HSVhsv(132, 96%, 20%)
CMYKcmyk(96.1%, 0%, 76.5%, 80%)
CIE-LABlab(17.49, -25.56, 19.50)
CIE-LCHlch(17.49, 32.15, 142.65°)
OKLaboklab(28.03% -0.0687 0.0461)
OKLCHoklch(28.03% 0.083 146.2)
XYZxyz(1.2751, 2.4069, 0.7451)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02330C #330229
analogous
#103302 #02330C #023324
triadic
#02330C #0C0233 #330C02
tetradic
#02330C #021033 #330229 #332402
square
#02330C #021033 #330229 #332402
split-complementary
#02330C #240233 #330210
monochromatic
#011D07 #011D07 #02330C #046E1A #07A928

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##02330C#FFFFFF#000000##FFFFFF
##02330C1.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)
#342D07
Deuteranopia (green-blind)
#2F290F
Tritanopia (blue-blind)
#00322B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #02330c;
/* rgb */ color: rgb(2, 51, 12);
/* oklch */ color: oklch(28.0% 0.083 146.2);
Tailwind
colors: {
  custom: {
    50: '#4d6b4d',
    500: '#02330c',
    950: '#000000',
  },
}
SCSS
$custom: #02330c;
$custom-light: #4d6b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#02330c",
  "rgb": {
    "r": 2,
    "g": 51,
    "b": 12
  },
  "hsl": {
    "h": 132.245,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28031,
    "c": 0.08271,
    "h": 146.2
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#02330C
secondary
#771A64
accent
#29D3FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020701
muted
#787A77

Preview Lab

Preview with #02330C

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

Preview Lab → · Contrast checker → · Palette generator →

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