#12431F#12431F

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

Color values

HEX#12431F
RGBrgb(18, 67, 31)
HSLhsl(136, 58%, 17%)
HSVhsv(136, 73%, 26%)
CMYKcmyk(73.1%, 0%, 53.7%, 73.7%)
CIE-LABlab(24.45, -25.60, 17.13)
CIE-LCHlch(24.45, 30.81, 146.21°)
OKLaboklab(34.01% -0.0691 0.0418)
OKLCHoklch(34.01% 0.081 148.8)
XYZxyz(2.5037, 4.2416, 1.9828)
Luminance0.0424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12431F #431236
analogous
#1E4312 #12431F #124338
triadic
#12431F #1F1243 #431F12
tetradic
#12431F #121E43 #431236 #433812
square
#12431F #121E43 #431236 #433812
split-complementary
#12431F #381243 #43121E
monochromatic
#06180B #06180B #12431F #1F7335 #2CA34C

Accessibility & contrast

On white

11.36
#12431F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12431F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12431F#FFFFFF#000000##FFFFFF
##12431F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12431f;
/* rgb */ color: rgb(18, 67, 31);
/* oklch */ color: oklch(34.0% 0.081 148.8);
Tailwind
colors: {
  custom: {
    50: '#57785b',
    500: '#12431f',
    950: '#000000',
  },
}
SCSS
$custom: #12431f;
$custom-light: #57785b;
$custom-dark: #000000;
JSON
{
  "hex": "#12431f",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 31
  },
  "hsl": {
    "h": 135.918,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34009,
    "c": 0.08071,
    "h": 148.8
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#12431F
secondary
#7C3569
accent
#47B8E1
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #12431F

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

Preview Lab → · Contrast checker → · Palette generator →

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