#02310F#02310F

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

Color values

HEX#02310F
RGBrgb(2, 49, 15)
HSLhsl(137, 92%, 10%)
HSVhsv(137, 96%, 19%)
CMYKcmyk(95.9%, 0%, 69.4%, 80.8%)
CIE-LABlab(16.72, -24.30, 17.08)
CIE-LCHlch(16.72, 29.70, 144.89°)
OKLaboklab(27.4% -0.0652 0.0408)
OKLCHoklch(27.4% 0.077 148)
XYZxyz(1.2095, 2.2439, 0.8212)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02310F #310224
analogous
#0C3102 #02310F #023127
triadic
#02310F #0F0231 #310F02
tetradic
#02310F #020C31 #310224 #312702
square
#02310F #020C31 #310224 #312702
split-complementary
#02310F #270231 #31020C
monochromatic
#011D09 #011D09 #02310F #046C21 #07A733

Accessibility & contrast

On white

14.49
#02310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02310F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02310F#FFFFFF#000000##FFFFFF
##02310F1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#2C2812
Tritanopia (blue-blind)
#00302A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #02310f;
/* rgb */ color: rgb(2, 49, 15);
/* oklch */ color: oklch(27.4% 0.077 148.0);
Tailwind
colors: {
  custom: {
    50: '#4c6a4e',
    500: '#02310f',
    950: '#000000',
  },
}
SCSS
$custom: #02310f;
$custom-light: #4c6a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#02310f",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 136.596,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.274,
    "c": 0.07691,
    "h": 148
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

primary
#02310F
secondary
#75195C
accent
#29C4FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #02310F

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

Preview Lab → · Contrast checker → · Palette generator →

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