#02390C#02390C

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

Color values

HEX#02390C
RGBrgb(2, 57, 12)
HSLhsl(131, 93%, 12%)
HSVhsv(131, 96%, 22%)
CMYKcmyk(96.5%, 0%, 78.9%, 77.6%)
CIE-LABlab(19.91, -27.85, 22.33)
CIE-LCHlch(19.91, 35.70, 141.28°)
OKLaboklab(30.04% -0.075 0.0516)
OKLCHoklch(30.04% 0.091 145.4)
XYZxyz(1.5544, 2.9655, 0.8382)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02390C #39022F
analogous
#143902 #02390C #023928
triadic
#02390C #0C0239 #390C02
tetradic
#02390C #021439 #39022F #392802
square
#02390C #021439 #39022F #392802
split-complementary
#02390C #280239 #390214
monochromatic
#011E06 #011E06 #02390C #047418 #06AF25

Accessibility & contrast

On white

13.18
#02390C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#02390C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02390C
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02390C#FFFFFF#000000##FFFFFF
##02390C1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02390c;
/* rgb */ color: rgb(2, 57, 12);
/* oklch */ color: oklch(30.0% 0.091 145.4);
Tailwind
colors: {
  custom: {
    50: '#4f704d',
    500: '#02390c',
    950: '#000000',
  },
}
SCSS
$custom: #02390c;
$custom-light: #4f704d;
$custom-dark: #000000;
JSON
{
  "hex": "#02390c",
  "rgb": {
    "r": 2,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 130.909,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30039,
    "c": 0.09102,
    "h": 145.4
  },
  "luminance": 0.02966
}

Semantic roles & 50–950 ramp

primary
#02390C
secondary
#7D1A6B
accent
#29D8FF
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #02390C

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

Preview Lab → · Contrast checker → · Palette generator →

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