#125127#125127

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

Color values

HEX#125127
RGBrgb(18, 81, 39)
HSLhsl(140, 64%, 19%)
HSVhsv(140, 78%, 32%)
CMYKcmyk(77.8%, 0%, 51.9%, 68.2%)
CIE-LABlab(29.81, -30.21, 19.12)
CIE-LCHlch(29.81, 35.75, 147.67°)
OKLaboklab(38.47% -0.0813 0.0467)
OKLCHoklch(38.47% 0.094 150.1)
XYZxyz(3.5578, 6.1595, 2.9205)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125127 #51123C
analogous
#1D5112 #125127 #125147
triadic
#125127 #271251 #512712
tetradic
#125127 #121D51 #51123C #514712
square
#125127 #121D51 #51123C #514712
split-complementary
#125127 #471251 #51121D
monochromatic
#06190C #071F0F #125127 #1D833F #28B557

Accessibility & contrast

On white

9.41
#125127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125127
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125127#FFFFFF#000000##FFFFFF
##1251271.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524924
Deuteranopia (green-blind)
#4A442A
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125127;
/* rgb */ color: rgb(18, 81, 39);
/* oklch */ color: oklch(38.5% 0.094 150.1);
Tailwind
colors: {
  custom: {
    50: '#5a8262',
    500: '#125127',
    950: '#000000',
  },
}
SCSS
$custom: #125127;
$custom-light: #5a8262;
$custom-dark: #000000;
JSON
{
  "hex": "#125127",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 39
  },
  "hsl": {
    "h": 140,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38473,
    "c": 0.09375,
    "h": 150.1
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#125127
secondary
#8A356E
accent
#41AFE7
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #125127

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

Preview Lab → · Contrast checker → · Palette generator →

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