#12471B#12471B

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

Color values

HEX#12471B
RGBrgb(18, 71, 27)
HSLhsl(130, 60%, 17%)
HSVhsv(130, 75%, 28%)
CMYKcmyk(74.6%, 0%, 62%, 72.2%)
CIE-LABlab(25.90, -28.05, 21.26)
CIE-LCHlch(25.90, 35.20, 142.84°)
OKLaboklab(35.19% -0.0757 0.0507)
OKLCHoklch(35.19% 0.091 146.2)
XYZxyz(2.7003, 4.7139, 1.8043)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12471B #47123E
analogous
#234712 #12471B #124736
triadic
#12471B #1B1247 #471B12
tetradic
#12471B #122347 #47123E #473612
square
#12471B #122347 #47123E #473612
split-complementary
#12471B #361247 #471223
monochromatic
#061809 #061809 #12471B #1E782E #2BA940

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12471B#FFFFFF#000000##FFFFFF
##12471B1.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)
#484017
Deuteranopia (green-blind)
#423C1E
Tritanopia (blue-blind)
#03453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12471b;
/* rgb */ color: rgb(18, 71, 27);
/* oklch */ color: oklch(35.2% 0.091 146.2);
Tailwind
colors: {
  custom: {
    50: '#587b59',
    500: '#12471b',
    950: '#000000',
  },
}
SCSS
$custom: #12471b;
$custom-light: #587b59;
$custom-dark: #000000;
JSON
{
  "hex": "#12471b",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 27
  },
  "hsl": {
    "h": 130.189,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.09115,
    "h": 146.2
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#12471B
secondary
#803573
accent
#45C8E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #12471B

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

Preview Lab → · Contrast checker → · Palette generator →

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