#02300C#02300C

#02300C is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.0% C 0.078 H 146.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#02300C
RGBrgb(2, 48, 12)
HSLhsl(133, 92%, 10%)
HSVhsv(133, 96%, 19%)
CMYKcmyk(95.8%, 0%, 75%, 81.2%)
CIE-LABlab(16.27, -24.37, 18.00)
CIE-LCHlch(16.27, 30.30, 143.55°)
OKLaboklab(27.02% -0.0655 0.0431)
OKLCHoklch(27.02% 0.078 146.6)
XYZxyz(1.1483, 2.1532, 0.7028)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02300C #300226
analogous
#0F3002 #02300C #023023
triadic
#02300C #0C0230 #300C02
tetradic
#02300C #020F30 #300226 #302302
square
#02300C #020F30 #300226 #302302
split-complementary
#02300C #230230 #30020F
monochromatic
#011D07 #011D07 #02300C #046B1B #07A629

Accessibility & contrast

On white

14.68
#02300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#02300C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02300C
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02300C#FFFFFF#000000##FFFFFF
##02300C1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B08
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#002F28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #02300c;
/* rgb */ color: rgb(2, 48, 12);
/* oklch */ color: oklch(27.0% 0.078 146.6);
Tailwind
colors: {
  custom: {
    50: '#4b694c',
    500: '#02300c',
    950: '#000000',
  },
}
SCSS
$custom: #02300c;
$custom-light: #4b694c;
$custom-dark: #000000;
JSON
{
  "hex": "#02300c",
  "rgb": {
    "r": 2,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 133.043,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27016,
    "c": 0.07841,
    "h": 146.6
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#02300C
secondary
#751961
accent
#29D0FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #02300C

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

Preview Lab → · Contrast checker → · Palette generator →

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