#125128#125128

#125128 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.093 H 150.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#125128
RGBrgb(18, 81, 40)
HSLhsl(141, 64%, 19%)
HSVhsv(141, 78%, 32%)
CMYKcmyk(77.8%, 0%, 50.6%, 68.2%)
CIE-LABlab(29.83, -30.02, 18.55)
CIE-LCHlch(29.83, 35.28, 148.29°)
OKLaboklab(38.49% -0.0808 0.0454)
OKLCHoklch(38.49% 0.093 150.6)
XYZxyz(3.5746, 6.1663, 3.0089)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125128 #51123B
analogous
#1C5112 #125128 #125148
triadic
#125128 #281251 #512812
tetradic
#125128 #121C51 #51123B #514812
square
#125128 #121C51 #51123B #514812
split-complementary
#125128 #481251 #51121C
monochromatic
#06190C #071F0F #125128 #1D8341 #28B559

Accessibility & contrast

On white

9.40
#125128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#125128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125128
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125128#FFFFFF#000000##FFFFFF
##1251281.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#4A442B
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125128;
/* rgb */ color: rgb(18, 81, 40);
/* oklch */ color: oklch(38.5% 0.093 150.6);
Tailwind
colors: {
  custom: {
    50: '#5a8262',
    500: '#125128',
    950: '#000000',
  },
}
SCSS
$custom: #125128;
$custom-light: #5a8262;
$custom-dark: #000000;
JSON
{
  "hex": "#125128",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 40
  },
  "hsl": {
    "h": 140.952,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38492,
    "c": 0.0927,
    "h": 150.6
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#125128
secondary
#8A356C
accent
#41ADE7
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #125128

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

Preview Lab → · Contrast checker → · Palette generator →

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