#12471A#12471A

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

Color values

HEX#12471A
RGBrgb(18, 71, 26)
HSLhsl(129, 60%, 17%)
HSVhsv(129, 75%, 28%)
CMYKcmyk(74.6%, 0%, 63.4%, 72.2%)
CIE-LABlab(25.89, -28.21, 21.81)
CIE-LCHlch(25.89, 35.65, 142.29°)
OKLaboklab(35.17% -0.0762 0.0518)
OKLCHoklch(35.17% 0.092 145.8)
XYZxyz(2.6890, 4.7094, 1.7444)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12471A #47123F
analogous
#244712 #12471A #124735
triadic
#12471A #1A1247 #471A12
tetradic
#12471A #122447 #47123F #473512
square
#12471A #122447 #47123F #473512
split-complementary
#12471A #351247 #471224
monochromatic
#061809 #061809 #12471A #1E782C #2BA93E

Accessibility & contrast

On white

10.81
#12471A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12471A
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12471A#FFFFFF#000000##FFFFFF
##12471A1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484016
Deuteranopia (green-blind)
#423C1E
Tritanopia (blue-blind)
#03453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12471a;
/* rgb */ color: rgb(18, 71, 26);
/* oklch */ color: oklch(35.2% 0.092 145.8);
Tailwind
colors: {
  custom: {
    50: '#587b58',
    500: '#12471a',
    950: '#000000',
  },
}
SCSS
$custom: #12471a;
$custom-light: #587b58;
$custom-dark: #000000;
JSON
{
  "hex": "#12471a",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 26
  },
  "hsl": {
    "h": 129.057,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3517,
    "c": 0.09215,
    "h": 145.8
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#12471A
secondary
#803575
accent
#45CBE3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12471A

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

Preview Lab → · Contrast checker → · Palette generator →

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