#126128#126128

#126128 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.116 H 147.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#126128
RGBrgb(18, 97, 40)
HSLhsl(137, 69%, 23%)
HSVhsv(137, 81%, 38%)
CMYKcmyk(81.4%, 0%, 58.8%, 62%)
CIE-LABlab(35.66, -36.48, 25.76)
CIE-LCHlch(35.66, 44.66, 144.78°)
OKLaboklab(43.31% -0.0981 0.0616)
OKLCHoklch(43.31% 0.116 147.9)
XYZxyz(4.9068, 8.8306, 3.4529)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126128 #61124B
analogous
#236112 #126128 #126150
triadic
#126128 #281261 #612812
tetradic
#126128 #122361 #61124B #615012
square
#126128 #122361 #61124B #615012
split-complementary
#126128 #501261 #611223
monochromatic
#051A0B #082D13 #126128 #1C953D #25C853

Accessibility & contrast

On white

7.59
#126128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#126128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126128
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126128#FFFFFF#000000##FFFFFF
##1261281.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625823
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #126128;
/* rgb */ color: rgb(18, 97, 40);
/* oklch */ color: oklch(43.3% 0.116 147.9);
Tailwind
colors: {
  custom: {
    50: '#5f8f63',
    500: '#126128',
    950: '#000000',
  },
}
SCSS
$custom: #126128;
$custom-light: #5f8f63;
$custom-dark: #000000;
JSON
{
  "hex": "#126128",
  "rgb": {
    "r": 18,
    "g": 97,
    "b": 40
  },
  "hsl": {
    "h": 136.709,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43314,
    "c": 0.11583,
    "h": 147.9
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#126128
secondary
#99367D
accent
#3CBBEC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #126128

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

Preview Lab → · Contrast checker → · Palette generator →

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