#12431A#12431A

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

Color values

HEX#12431A
RGBrgb(18, 67, 26)
HSLhsl(130, 58%, 17%)
HSVhsv(130, 73%, 26%)
CMYKcmyk(73.1%, 0%, 61.2%, 73.7%)
CIE-LABlab(24.38, -26.48, 20.00)
CIE-LCHlch(24.38, 33.19, 142.94°)
OKLaboklab(33.92% -0.0715 0.0479)
OKLCHoklch(33.92% 0.086 146.2)
XYZxyz(2.4429, 4.2172, 1.6623)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12431A #43123B
analogous
#234312 #12431A #124333
triadic
#12431A #1A1243 #431A12
tetradic
#12431A #122343 #43123B #433312
square
#12431A #122343 #43123B #433312
split-complementary
#12431A #331243 #431223
monochromatic
#061809 #061809 #12431A #1F732D #2CA33F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12431A#FFFFFF#000000##FFFFFF
##12431A1.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)
#443C16
Deuteranopia (green-blind)
#3E381D
Tritanopia (blue-blind)
#05413A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12431a;
/* rgb */ color: rgb(18, 67, 26);
/* oklch */ color: oklch(33.9% 0.086 146.2);
Tailwind
colors: {
  custom: {
    50: '#577857',
    500: '#12431a',
    950: '#000000',
  },
}
SCSS
$custom: #12431a;
$custom-light: #577857;
$custom-dark: #000000;
JSON
{
  "hex": "#12431a",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 26
  },
  "hsl": {
    "h": 129.796,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33919,
    "c": 0.08607,
    "h": 146.2
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#12431A
secondary
#7C3570
accent
#47C8E1
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #12431A

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

Preview Lab → · Contrast checker → · Palette generator →

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