#02310A#02310A

#02310A is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.3% C 0.082 H 145.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#02310A
RGBrgb(2, 49, 10)
HSLhsl(130, 92%, 10%)
HSVhsv(130, 96%, 19%)
CMYKcmyk(95.9%, 0%, 79.6%, 80.8%)
CIE-LABlab(16.66, -25.05, 19.34)
CIE-LCHlch(16.66, 31.65, 142.33°)
OKLaboklab(27.33% -0.0674 0.0461)
OKLCHoklch(27.33% 0.082 145.6)
XYZxyz(1.1780, 2.2313, 0.6557)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02310A #310229
analogous
#113102 #02310A #023122
triadic
#02310A #0A0231 #310A02
tetradic
#02310A #021131 #310229 #312202
square
#02310A #021131 #310229 #312202
split-complementary
#02310A #220231 #310211
monochromatic
#011D06 #011D06 #02310A #046C16 #07A722

Accessibility & contrast

On white

14.52
#02310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#02310A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02310A
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02310A#FFFFFF#000000##FFFFFF
##02310A1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B06
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#003029
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #02310a;
/* rgb */ color: rgb(2, 49, 10);
/* oklch */ color: oklch(27.3% 0.082 145.6);
Tailwind
colors: {
  custom: {
    50: '#4c6a4b',
    500: '#02310a',
    950: '#000000',
  },
}
SCSS
$custom: #02310a;
$custom-light: #4c6a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#02310a",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 130.213,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27329,
    "c": 0.08167,
    "h": 145.6
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#02310A
secondary
#751966
accent
#29DBFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #02310A

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

Preview Lab → · Contrast checker → · Palette generator →

#02310A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva