#15310B#15310B

#15310B is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.1% C 0.071 H 138.5°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#15310B
RGBrgb(21, 49, 11)
HSLhsl(104, 63%, 12%)
HSVhsv(104, 78%, 19%)
CMYKcmyk(57.1%, 0%, 77.6%, 80.8%)
CIE-LABlab(17.37, -19.31, 19.95)
CIE-LCHlch(17.37, 27.77, 134.06°)
OKLaboklab(28.12% -0.0532 0.047)
OKLCHoklch(28.12% 0.071 138.5)
XYZxyz(1.4679, 2.3801, 0.6986)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15310B #270B31
analogous
#28310B #15310B #0B3114
triadic
#15310B #0B1531 #310B15
tetradic
#15310B #0B2831 #270B31 #31140B
square
#15310B #0B2831 #270B31 #31140B
split-complementary
#15310B #140B31 #310B28
monochromatic
#0B1906 #0B1906 #15310B #2A6316 #409521

Accessibility & contrast

On white

14.23
#15310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15310B
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15310B#FFFFFF#000000##FFFFFF
##15310B1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C07
Deuteranopia (green-blind)
#2F2A0E
Tritanopia (blue-blind)
#132F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15310b;
/* rgb */ color: rgb(21, 49, 11);
/* oklch */ color: oklch(28.1% 0.071 138.5);
Tailwind
colors: {
  custom: {
    50: '#55694c',
    500: '#15310b',
    950: '#000000',
  },
}
SCSS
$custom: #15310b;
$custom-light: #55694c;
$custom-dark: #000000;
JSON
{
  "hex": "#15310b",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 104.211,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28118,
    "c": 0.07099,
    "h": 138.5
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#15310B
secondary
#5C2A6E
accent
#41E6BB
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #15310B

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

Preview Lab → · Contrast checker → · Palette generator →

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