#02310C#02310C

#02310C is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.4% C 0.080 H 146.5°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#02310C
RGBrgb(2, 49, 12)
HSLhsl(133, 92%, 10%)
HSVhsv(133, 96%, 19%)
CMYKcmyk(95.9%, 0%, 75.5%, 80.8%)
CIE-LABlab(16.68, -24.77, 18.51)
CIE-LCHlch(16.68, 30.92, 143.23°)
OKLaboklab(27.36% -0.0666 0.0441)
OKLCHoklch(27.36% 0.08 146.5)
XYZxyz(1.1896, 2.2359, 0.7166)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02310C #310227
analogous
#0F3102 #02310C #023124
triadic
#02310C #0C0231 #310C02
tetradic
#02310C #020F31 #310227 #312402
square
#02310C #020F31 #310227 #312402
split-complementary
#02310C #240231 #31020F
monochromatic
#011D07 #011D07 #02310C #046C1A #07A729

Accessibility & contrast

On white

14.51
#02310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02310C
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02310C#FFFFFF#000000##FFFFFF
##02310C1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02310c;
/* rgb */ color: rgb(2, 49, 12);
/* oklch */ color: oklch(27.4% 0.080 146.5);
Tailwind
colors: {
  custom: {
    50: '#4c6a4c',
    500: '#02310c',
    950: '#000000',
  },
}
SCSS
$custom: #02310c;
$custom-light: #4c6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#02310c",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 132.766,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27355,
    "c": 0.07986,
    "h": 146.5
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#02310C
secondary
#751962
accent
#29D1FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #02310C

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

Preview Lab → · Contrast checker → · Palette generator →

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