#02300F#02300F

#02300F is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.1% C 0.075 H 148.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#02300F
RGBrgb(2, 48, 15)
HSLhsl(137, 92%, 10%)
HSVhsv(137, 96%, 19%)
CMYKcmyk(95.8%, 0%, 68.7%, 81.2%)
CIE-LABlab(16.31, -23.89, 16.57)
CIE-LCHlch(16.31, 29.08, 145.25°)
OKLaboklab(27.06% -0.0641 0.0398)
OKLCHoklch(27.06% 0.075 148.2)
XYZxyz(1.1681, 2.1612, 0.8074)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02300F #300223
analogous
#0C3002 #02300F #023026
triadic
#02300F #0F0230 #300F02
tetradic
#02300F #020C30 #300223 #302602
square
#02300F #020C30 #300223 #302602
split-complementary
#02300F #260230 #30020C
monochromatic
#011D09 #011D09 #02300F #046B21 #07A634

Accessibility & contrast

On white

14.66
#02300F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02300F
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02300F#FFFFFF#000000##FFFFFF
##02300F1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0C
Deuteranopia (green-blind)
#2B2712
Tritanopia (blue-blind)
#002F29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #02300f;
/* rgb */ color: rgb(2, 48, 15);
/* oklch */ color: oklch(27.1% 0.075 148.2);
Tailwind
colors: {
  custom: {
    50: '#4b694e',
    500: '#02300f',
    950: '#000000',
  },
}
SCSS
$custom: #02300f;
$custom-light: #4b694e;
$custom-dark: #000000;
JSON
{
  "hex": "#02300f",
  "rgb": {
    "r": 2,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 136.957,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27062,
    "c": 0.07542,
    "h": 148.2
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#02300F
secondary
#75195B
accent
#29C2FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #02300F

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

Preview Lab → · Contrast checker → · Palette generator →

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