#02310E#02310E

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

Color values

HEX#02310E
RGBrgb(2, 49, 14)
HSLhsl(135, 92%, 10%)
HSVhsv(135, 96%, 19%)
CMYKcmyk(95.9%, 0%, 71.4%, 80.8%)
CIE-LABlab(16.70, -24.46, 17.58)
CIE-LCHlch(16.70, 30.12, 144.30°)
OKLaboklab(27.38% -0.0657 0.042)
OKLCHoklch(27.38% 0.078 147.4)
XYZxyz(1.2025, 2.2411, 0.7846)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02310E #310225
analogous
#0E3102 #02310E #023125
triadic
#02310E #0E0231 #310E02
tetradic
#02310E #020E31 #310225 #312502
square
#02310E #020E31 #310225 #312502
split-complementary
#02310E #250231 #31020E
monochromatic
#011D08 #011D08 #02310E #046C1F #07A730

Accessibility & contrast

On white

14.50
#02310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02310E
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02310E#FFFFFF#000000##FFFFFF
##02310E1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02310e;
/* rgb */ color: rgb(2, 49, 14);
/* oklch */ color: oklch(27.4% 0.078 147.4);
Tailwind
colors: {
  custom: {
    50: '#4c6a4e',
    500: '#02310e',
    950: '#000000',
  },
}
SCSS
$custom: #02310e;
$custom-light: #4c6a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#02310e",
  "rgb": {
    "r": 2,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 135.319,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.27384,
    "c": 0.07792,
    "h": 147.4
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#02310E
secondary
#75195E
accent
#29C8FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #02310E

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

Preview Lab → · Contrast checker → · Palette generator →

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