#12471C#12471C

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

Color values

HEX#12471C
RGBrgb(18, 71, 28)
HSLhsl(131, 60%, 17%)
HSVhsv(131, 75%, 28%)
CMYKcmyk(74.6%, 0%, 60.6%, 72.2%)
CIE-LABlab(25.92, -27.89, 20.71)
CIE-LCHlch(25.92, 34.74, 143.41°)
OKLaboklab(35.2% -0.0753 0.0496)
OKLCHoklch(35.2% 0.09 146.6)
XYZxyz(2.7121, 4.7186, 1.8662)
Luminance0.0472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12471C #47123D
analogous
#224712 #12471C #124737
triadic
#12471C #1C1247 #471C12
tetradic
#12471C #122247 #47123D #473712
square
#12471C #122247 #47123D #473712
split-complementary
#12471C #371247 #471222
monochromatic
#06180A #06180A #12471C #1E782F #2BA943

Accessibility & contrast

On white

10.80
#12471C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#12471C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12471C
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12471C#FFFFFF#000000##FFFFFF
##12471C1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484018
Deuteranopia (green-blind)
#423C1F
Tritanopia (blue-blind)
#02453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12471c;
/* rgb */ color: rgb(18, 71, 28);
/* oklch */ color: oklch(35.2% 0.090 146.6);
Tailwind
colors: {
  custom: {
    50: '#587b59',
    500: '#12471c',
    950: '#000000',
  },
}
SCSS
$custom: #12471c;
$custom-light: #587b59;
$custom-dark: #000000;
JSON
{
  "hex": "#12471c",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 28
  },
  "hsl": {
    "h": 131.321,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35201,
    "c": 0.09013,
    "h": 146.6
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#12471C
secondary
#803572
accent
#45C5E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12471C

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

Preview Lab → · Contrast checker → · Palette generator →

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