#125129#125129

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

Color values

HEX#125129
RGBrgb(18, 81, 41)
HSLhsl(142, 64%, 19%)
HSVhsv(142, 78%, 32%)
CMYKcmyk(77.8%, 0%, 49.4%, 68.2%)
CIE-LABlab(29.84, -29.82, 17.98)
CIE-LCHlch(29.84, 34.82, 148.92°)
OKLaboklab(38.51% -0.0803 0.0442)
OKLCHoklch(38.51% 0.092 151.2)
XYZxyz(3.5918, 6.1731, 3.0996)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125129 #51123A
analogous
#1B5112 #125129 #125149
triadic
#125129 #291251 #512912
tetradic
#125129 #121B51 #51123A #514912
square
#125129 #121B51 #51123A #514912
split-complementary
#125129 #491251 #51121B
monochromatic
#06190D #071F10 #125129 #1D8342 #28B55C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125129#FFFFFF#000000##FFFFFF
##1251291.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)
#514A26
Deuteranopia (green-blind)
#4A442C
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125129;
/* rgb */ color: rgb(18, 81, 41);
/* oklch */ color: oklch(38.5% 0.092 151.2);
Tailwind
colors: {
  custom: {
    50: '#5a8263',
    500: '#125129',
    950: '#000000',
  },
}
SCSS
$custom: #125129;
$custom-light: #5a8263;
$custom-dark: #000000;
JSON
{
  "hex": "#125129",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 41
  },
  "hsl": {
    "h": 141.905,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38512,
    "c": 0.09164,
    "h": 151.2
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#125129
secondary
#8A356B
accent
#41AAE7
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #125129

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

Preview Lab → · Contrast checker → · Palette generator →

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