#12471E#12471E

#12471E is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.2% C 0.088 H 147.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#12471E
RGBrgb(18, 71, 30)
HSLhsl(134, 60%, 17%)
HSVhsv(134, 75%, 28%)
CMYKcmyk(74.6%, 0%, 57.7%, 72.2%)
CIE-LABlab(25.95, -27.55, 19.58)
CIE-LCHlch(25.95, 33.80, 144.60°)
OKLaboklab(35.24% -0.0743 0.0472)
OKLCHoklch(35.24% 0.088 147.6)
XYZxyz(2.7368, 4.7285, 1.9965)
Luminance0.0473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12471E #47123B
analogous
#204712 #12471E #124739
triadic
#12471E #1E1247 #471E12
tetradic
#12471E #122047 #47123B #473912
square
#12471E #122047 #47123B #473912
split-complementary
#12471E #391247 #471220
monochromatic
#06180A #06180A #12471E #1E7833 #2BA947

Accessibility & contrast

On white

10.79
#12471E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#12471E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12471E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12471E#FFFFFF#000000##FFFFFF
##12471E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401A
Deuteranopia (green-blind)
#413C21
Tritanopia (blue-blind)
#01453E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12471e;
/* rgb */ color: rgb(18, 71, 30);
/* oklch */ color: oklch(35.2% 0.088 147.6);
Tailwind
colors: {
  custom: {
    50: '#587b5b',
    500: '#12471e',
    950: '#000000',
  },
}
SCSS
$custom: #12471e;
$custom-light: #587b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#12471e",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 30
  },
  "hsl": {
    "h": 133.585,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35235,
    "c": 0.08805,
    "h": 147.6
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#12471E
secondary
#80356F
accent
#45BFE3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #12471E

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

Preview Lab → · Contrast checker → · Palette generator →

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