#12431C#12431C

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

Color values

HEX#12431C
RGBrgb(18, 67, 28)
HSLhsl(132, 58%, 17%)
HSVhsv(132, 73%, 26%)
CMYKcmyk(73.1%, 0%, 58.2%, 73.7%)
CIE-LABlab(24.41, -26.15, 18.87)
CIE-LCHlch(24.41, 32.24, 144.19°)
OKLaboklab(33.95% -0.0706 0.0455)
OKLCHoklch(33.95% 0.084 147.2)
XYZxyz(2.4660, 4.2265, 1.7842)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12431C #431239
analogous
#214312 #12431C #124335
triadic
#12431C #1C1243 #431C12
tetradic
#12431C #122143 #431239 #433512
square
#12431C #122143 #431239 #433512
split-complementary
#12431C #351243 #431221
monochromatic
#06180A #06180A #12431C #1F7330 #2CA344

Accessibility & contrast

On white

11.38
#12431C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12431C
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12431C#FFFFFF#000000##FFFFFF
##12431C1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12431c;
/* rgb */ color: rgb(18, 67, 28);
/* oklch */ color: oklch(34.0% 0.084 147.2);
Tailwind
colors: {
  custom: {
    50: '#577859',
    500: '#12431c',
    950: '#000000',
  },
}
SCSS
$custom: #12431c;
$custom-light: #577859;
$custom-dark: #000000;
JSON
{
  "hex": "#12431c",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 28
  },
  "hsl": {
    "h": 132.245,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33953,
    "c": 0.08397,
    "h": 147.2
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#12431C
secondary
#7C356E
accent
#47C1E1
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #12431C

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

Preview Lab → · Contrast checker → · Palette generator →

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