#02310B#02310B

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

Color values

HEX#02310B
RGBrgb(2, 49, 11)
HSLhsl(131, 92%, 10%)
HSVhsv(131, 96%, 19%)
CMYKcmyk(95.9%, 0%, 77.6%, 80.8%)
CIE-LABlab(16.67, -24.91, 18.94)
CIE-LCHlch(16.67, 31.29, 142.76°)
OKLaboklab(27.34% -0.067 0.0451)
OKLCHoklch(27.34% 0.081 146)
XYZxyz(1.1837, 2.2335, 0.6853)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02310B #310228
analogous
#113102 #02310B #023122
triadic
#02310B #0B0231 #310B02
tetradic
#02310B #021131 #310228 #312202
square
#02310B #021131 #310228 #312202
split-complementary
#02310B #220231 #310211
monochromatic
#011D07 #011D07 #02310B #046C18 #07A725

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##02310B#FFFFFF#000000##FFFFFF
##02310B1.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)
#322B07
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#003029
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #02310b;
/* rgb */ color: rgb(2, 49, 11);
/* oklch */ color: oklch(27.3% 0.081 146.0);
Tailwind
colors: {
  custom: {
    50: '#4c6a4c',
    500: '#02310b',
    950: '#000000',
  },
}
SCSS
$custom: #02310b;
$custom-light: #4c6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#02310b",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 131.489,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27342,
    "c": 0.08078,
    "h": 146
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#02310B
secondary
#751964
accent
#29D6FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #02310B

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

Preview Lab → · Contrast checker → · Palette generator →

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