#12310D#12310D

#12310D is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.0% C 0.071 H 141.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#12310D
RGBrgb(18, 49, 13)
HSLhsl(112, 58%, 12%)
HSVhsv(112, 73%, 19%)
CMYKcmyk(63.3%, 0%, 73.5%, 80.8%)
CIE-LABlab(17.25, -20.15, 18.86)
CIE-LCHlch(17.25, 27.60, 136.89°)
OKLaboklab(27.99% -0.0551 0.0446)
OKLCHoklch(27.99% 0.071 141)
XYZxyz(1.4203, 2.3542, 0.7602)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12310D #2C0D31
analogous
#24310D #12310D #0D311A
triadic
#12310D #0D1231 #310D12
tetradic
#12310D #0D2431 #2C0D31 #311A0D
square
#12310D #0D2431 #2C0D31 #311A0D
split-complementary
#12310D #1A0D31 #310D24
monochromatic
#091806 #091806 #12310D #24611A #369227

Accessibility & contrast

On white

14.28
#12310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#12310D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12310D
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12310D#FFFFFF#000000##FFFFFF
##12310D1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C09
Deuteranopia (green-blind)
#2E2910
Tritanopia (blue-blind)
#0E2F29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #12310d;
/* rgb */ color: rgb(18, 49, 13);
/* oklch */ color: oklch(28.0% 0.071 141.0);
Tailwind
colors: {
  custom: {
    50: '#53694d',
    500: '#12310d',
    950: '#000000',
  },
}
SCSS
$custom: #12310d;
$custom-light: #53694d;
$custom-dark: #000000;
JSON
{
  "hex": "#12310d",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 111.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27985,
    "c": 0.07088,
    "h": 141
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#12310D
secondary
#632E6C
accent
#47E1CC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #12310D

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

Preview Lab → · Contrast checker → · Palette generator →

#12310D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva