#15310C#15310C

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

Color values

HEX#15310C
RGBrgb(21, 49, 12)
HSLhsl(105, 61%, 12%)
HSVhsv(105, 76%, 19%)
CMYKcmyk(57.1%, 0%, 75.5%, 80.8%)
CIE-LABlab(17.38, -19.19, 19.52)
CIE-LCHlch(17.38, 27.37, 134.51°)
OKLaboklab(28.13% -0.0528 0.046)
OKLCHoklch(28.13% 0.07 138.9)
XYZxyz(1.4739, 2.3825, 0.7300)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15310C #280C31
analogous
#28310C #15310C #0C3116
triadic
#15310C #0C1531 #310C15
tetradic
#15310C #0C2831 #280C31 #31160C
square
#15310C #0C2831 #280C31 #31160C
split-complementary
#15310C #160C31 #310C28
monochromatic
#0B1906 #0B1906 #15310C #2A6218 #3F9324

Accessibility & contrast

On white

14.22
#15310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15310C
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15310C#FFFFFF#000000##FFFFFF
##15310C1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15310c;
/* rgb */ color: rgb(21, 49, 12);
/* oklch */ color: oklch(28.1% 0.070 138.9);
Tailwind
colors: {
  custom: {
    50: '#55694d',
    500: '#15310c',
    950: '#000000',
  },
}
SCSS
$custom: #15310c;
$custom-light: #55694d;
$custom-dark: #000000;
JSON
{
  "hex": "#15310c",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 105.405,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2813,
    "c": 0.07004,
    "h": 138.9
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#15310C
secondary
#5D2C6D
accent
#44E4BD
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #15310C

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

Preview Lab → · Contrast checker → · Palette generator →

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