#12431B#12431B

#12431B is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.9% C 0.085 H 146.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#12431B
RGBrgb(18, 67, 27)
HSLhsl(131, 58%, 17%)
HSVhsv(131, 73%, 26%)
CMYKcmyk(73.1%, 0%, 59.7%, 73.7%)
CIE-LABlab(24.39, -26.32, 19.44)
CIE-LCHlch(24.39, 32.72, 143.55°)
OKLaboklab(33.94% -0.0711 0.0467)
OKLCHoklch(33.94% 0.085 146.7)
XYZxyz(2.4543, 4.2218, 1.7222)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12431B #43123A
analogous
#224312 #12431B #124334
triadic
#12431B #1B1243 #431B12
tetradic
#12431B #122243 #43123A #433412
square
#12431B #122243 #43123A #433412
split-complementary
#12431B #341243 #431222
monochromatic
#06180A #06180A #12431B #1F732E #2CA342

Accessibility & contrast

On white

11.39
#12431B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#12431B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12431B
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12431B#FFFFFF#000000##FFFFFF
##12431B1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C17
Deuteranopia (green-blind)
#3E381E
Tritanopia (blue-blind)
#04413A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12431b;
/* rgb */ color: rgb(18, 67, 27);
/* oklch */ color: oklch(33.9% 0.085 146.7);
Tailwind
colors: {
  custom: {
    50: '#577858',
    500: '#12431b',
    950: '#000000',
  },
}
SCSS
$custom: #12431b;
$custom-light: #577858;
$custom-dark: #000000;
JSON
{
  "hex": "#12431b",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 27
  },
  "hsl": {
    "h": 131.02,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33936,
    "c": 0.08503,
    "h": 146.7
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#12431B
secondary
#7C356F
accent
#47C5E1
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #12431B

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

Preview Lab → · Contrast checker → · Palette generator →

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