#12371C#12371C

#12371C is a dark, moderate green. Relative luminance 0.029; OKLCH L 30.2% C 0.064 H 149.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#12371C
RGBrgb(18, 55, 28)
HSLhsl(136, 51%, 14%)
HSVhsv(136, 67%, 22%)
CMYKcmyk(67.3%, 0%, 49.1%, 78.4%)
CIE-LABlab(19.82, -20.51, 13.07)
CIE-LCHlch(19.82, 24.32, 147.48°)
OKLaboklab(30.18% -0.0555 0.0323)
OKLCHoklch(30.18% 0.064 149.8)
XYZxyz(1.8251, 2.9446, 1.5706)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12371C #37122D
analogous
#1B3712 #12371C #12372F
triadic
#12371C #1C1237 #371C12
tetradic
#12371C #121B37 #37122D #372F12
square
#12371C #121B37 #37122D #372F12
split-complementary
#12371C #2F1237 #37121B
monochromatic
#08170C #08170C #12371C #216533 #30934B

Accessibility & contrast

On white

13.22
#12371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#12371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12371C
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12371C#FFFFFF#000000##FFFFFF
##12371C1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321A
Deuteranopia (green-blind)
#322F1E
Tritanopia (blue-blind)
#093630
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #12371c;
/* rgb */ color: rgb(18, 55, 28);
/* oklch */ color: oklch(30.2% 0.064 149.8);
Tailwind
colors: {
  custom: {
    50: '#546e58',
    500: '#12371c',
    950: '#000000',
  },
}
SCSS
$custom: #12371c;
$custom-light: #546e58;
$custom-dark: #000000;
JSON
{
  "hex": "#12371c",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 136.216,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.30178,
    "c": 0.06422,
    "h": 149.8
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#12371C
secondary
#703560
accent
#4EB4DA
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #12371C

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

Preview Lab → · Contrast checker → · Palette generator →

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