#126438#126438

#126438 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.104 H 154.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#126438
RGBrgb(18, 100, 56)
HSLhsl(148, 69%, 23%)
HSVhsv(148, 82%, 39%)
CMYKcmyk(82%, 0%, 44%, 60.8%)
CIE-LABlab(36.98, -34.74, 18.37)
CIE-LCHlch(36.98, 39.30, 152.12°)
OKLaboklab(44.49% -0.0935 0.0456)
OKLCHoklch(44.49% 0.104 154)
XYZxyz(5.5199, 9.5278, 5.2887)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126438 #64123E
analogous
#156412 #126438 #126461
triadic
#126438 #381264 #643812
tetradic
#126438 #121564 #64123E #646112
square
#126438 #121564 #64123E #646112
split-complementary
#126438 #611264 #641215
monochromatic
#051A0F #09301B #126438 #1B9855 #25CC72

Accessibility & contrast

On white

7.23
#126438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#126438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126438
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126438#FFFFFF#000000##FFFFFF
##1264381.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B35
Deuteranopia (green-blind)
#5A543B
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126438;
/* rgb */ color: rgb(18, 100, 56);
/* oklch */ color: oklch(44.5% 0.104 154.0);
Tailwind
colors: {
  custom: {
    50: '#5f916f',
    500: '#126438',
    950: '#000000',
  },
}
SCSS
$custom: #126438;
$custom-light: #5f916f;
$custom-dark: #000000;
JSON
{
  "hex": "#126438",
  "rgb": {
    "r": 18,
    "g": 100,
    "b": 56
  },
  "hsl": {
    "h": 147.805,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44493,
    "c": 0.10405,
    "h": 154
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#126438
secondary
#9C366D
accent
#3B9AEC
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #126438

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

Preview Lab → · Contrast checker → · Palette generator →

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