#12431E#12431E

#12431E is a dark, moderate green. Relative luminance 0.042; OKLCH L 34.0% C 0.082 H 148.3°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#12431E
RGBrgb(18, 67, 30)
HSLhsl(135, 58%, 17%)
HSVhsv(135, 73%, 26%)
CMYKcmyk(73.1%, 0%, 55.2%, 73.7%)
CIE-LABlab(24.44, -25.79, 17.71)
CIE-LCHlch(24.44, 31.28, 145.51°)
OKLaboklab(33.99% -0.0696 0.043)
OKLCHoklch(33.99% 0.082 148.3)
XYZxyz(2.4908, 4.2364, 1.9145)
Luminance0.0424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12431E #431237
analogous
#1F4312 #12431E #124337
triadic
#12431E #1E1243 #431E12
tetradic
#12431E #121F43 #431237 #433712
square
#12431E #121F43 #431237 #433712
split-complementary
#12431E #371243 #43121F
monochromatic
#06180B #06180B #12431E #1F7334 #2CA349

Accessibility & contrast

On white

11.37
#12431E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#12431E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12431E
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12431E#FFFFFF#000000##FFFFFF
##12431E1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1B
Deuteranopia (green-blind)
#3E3821
Tritanopia (blue-blind)
#03423A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12431e;
/* rgb */ color: rgb(18, 67, 30);
/* oklch */ color: oklch(34.0% 0.082 148.3);
Tailwind
colors: {
  custom: {
    50: '#57785a',
    500: '#12431e',
    950: '#000000',
  },
}
SCSS
$custom: #12431e;
$custom-light: #57785a;
$custom-dark: #000000;
JSON
{
  "hex": "#12431e",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 30
  },
  "hsl": {
    "h": 134.694,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3399,
    "c": 0.08181,
    "h": 148.3
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#12431E
secondary
#7C356B
accent
#47BBE1
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #12431E

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

Preview Lab → · Contrast checker → · Palette generator →

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