#12310E#12310E

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

Color values

HEX#12310E
RGBrgb(18, 49, 14)
HSLhsl(113, 56%, 12%)
HSVhsv(113, 71%, 19%)
CMYKcmyk(63.3%, 0%, 71.4%, 80.8%)
CIE-LABlab(17.26, -20.01, 18.38)
CIE-LCHlch(17.26, 27.17, 137.42°)
OKLaboklab(28% -0.0546 0.0435)
OKLCHoklch(28% 0.07 141.4)
XYZxyz(1.4270, 2.3568, 0.7951)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12310E #2D0E31
analogous
#24310E #12310E #0E311C
triadic
#12310E #0E1231 #310E12
tetradic
#12310E #0E2431 #2D0E31 #311C0E
square
#12310E #0E2431 #2D0E31 #311C0E
split-complementary
#12310E #1C0E31 #310E24
monochromatic
#091807 #091807 #12310E #23611C #359029

Accessibility & contrast

On white

14.27
#12310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12310E
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12310E#FFFFFF#000000##FFFFFF
##12310E1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12310e;
/* rgb */ color: rgb(18, 49, 14);
/* oklch */ color: oklch(28.0% 0.070 141.4);
Tailwind
colors: {
  custom: {
    50: '#53694e',
    500: '#12310e',
    950: '#000000',
  },
}
SCSS
$custom: #12310e;
$custom-light: #53694e;
$custom-dark: #000000;
JSON
{
  "hex": "#12310e",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 113.143,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27999,
    "c": 0.06986,
    "h": 141.4
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#12310E
secondary
#652F6C
accent
#49DFCE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #12310E

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

Preview Lab → · Contrast checker → · Palette generator →

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