#15310F#15310F

#15310F is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.2% C 0.067 H 140.2°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#15310F
RGBrgb(21, 49, 15)
HSLhsl(109, 53%, 13%)
HSVhsv(109, 69%, 19%)
CMYKcmyk(57.1%, 0%, 69.4%, 80.8%)
CIE-LABlab(17.42, -18.79, 18.09)
CIE-LCHlch(17.42, 26.08, 136.09°)
OKLaboklab(28.17% -0.0515 0.0429)
OKLCHoklch(28.17% 0.067 140.2)
XYZxyz(1.4937, 2.3904, 0.8345)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15310F #2B0F31
analogous
#26310F #15310F #0F311A
triadic
#15310F #0F1531 #310F15
tetradic
#15310F #0F2631 #2B0F31 #311A0F
square
#15310F #0F2631 #2B0F31 #311A0F
split-complementary
#15310F #1A0F31 #310F26
monochromatic
#0A1707 #0A1707 #15310F #29601D #3D8F2C

Accessibility & contrast

On white

14.21
#15310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#15310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15310F
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15310F#FFFFFF#000000##FFFFFF
##15310F1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#2F2A12
Tritanopia (blue-blind)
#122F2A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15310f;
/* rgb */ color: rgb(21, 49, 15);
/* oklch */ color: oklch(28.2% 0.067 140.2);
Tailwind
colors: {
  custom: {
    50: '#55694e',
    500: '#15310f',
    950: '#000000',
  },
}
SCSS
$custom: #15310f;
$custom-light: #55694e;
$custom-dark: #000000;
JSON
{
  "hex": "#15310f",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 109.412,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28173,
    "c": 0.06696,
    "h": 140.2
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#15310F
secondary
#61316B
accent
#4BDDC3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #15310F

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

Preview Lab → · Contrast checker → · Palette generator →

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