#126431#126431

#126431 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.4% C 0.111 H 150.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#126431
RGBrgb(18, 100, 49)
HSLhsl(143, 69%, 23%)
HSVhsv(143, 82%, 39%)
CMYKcmyk(82%, 0%, 51%, 60.8%)
CIE-LABlab(36.86, -36.11, 22.25)
CIE-LCHlch(36.86, 42.42, 148.36°)
OKLaboklab(44.36% -0.097 0.0543)
OKLCHoklch(44.36% 0.111 150.8)
XYZxyz(5.3605, 9.4641, 4.4494)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126431 #641245
analogous
#1C6412 #126431 #12645A
triadic
#126431 #311264 #643112
tetradic
#126431 #121C64 #641245 #645A12
square
#126431 #121C64 #641245 #645A12
split-complementary
#126431 #5A1264 #64121C
monochromatic
#051A0D #093018 #126431 #1B984A #25CC64

Accessibility & contrast

On white

7.26
#126431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#126431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126431
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126431#FFFFFF#000000##FFFFFF
##1264311.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B2D
Deuteranopia (green-blind)
#5B5435
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126431;
/* rgb */ color: rgb(18, 100, 49);
/* oklch */ color: oklch(44.4% 0.111 150.8);
Tailwind
colors: {
  custom: {
    50: '#5f916a',
    500: '#126431',
    950: '#000000',
  },
}
SCSS
$custom: #126431;
$custom-light: #5f916a;
$custom-dark: #000000;
JSON
{
  "hex": "#126431",
  "rgb": {
    "r": 18,
    "g": 100,
    "b": 49
  },
  "hsl": {
    "h": 142.683,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44356,
    "c": 0.11119,
    "h": 150.8
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#126431
secondary
#9C3675
accent
#3BA9EC
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #126431

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

Preview Lab → · Contrast checker → · Palette generator →

#126431 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva