#125131#125131

#125131 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.083 H 156.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#125131
RGBrgb(18, 81, 49)
HSLhsl(150, 64%, 19%)
HSVhsv(150, 78%, 32%)
CMYKcmyk(77.8%, 0%, 39.5%, 68.2%)
CIE-LABlab(30.00, -28.11, 13.32)
CIE-LCHlch(30.00, 31.10, 154.65°)
OKLaboklab(38.69% -0.0761 0.0334)
OKLCHoklch(38.69% 0.083 156.3)
XYZxyz(3.7459, 6.2348, 3.9111)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125131 #511232
analogous
#135112 #125131 #125151
triadic
#125131 #311251 #513112
tetradic
#125131 #121351 #511232 #515112
square
#125131 #121351 #511232 #515112
split-complementary
#125131 #511251 #511213
monochromatic
#06190F #071F13 #125131 #1D834F #28B56E

Accessibility & contrast

On white

9.35
#125131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#125131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125131
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125131#FFFFFF#000000##FFFFFF
##1251311.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A2F
Deuteranopia (green-blind)
#494433
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125131;
/* rgb */ color: rgb(18, 81, 49);
/* oklch */ color: oklch(38.7% 0.083 156.3);
Tailwind
colors: {
  custom: {
    50: '#5a8269',
    500: '#125131',
    950: '#000000',
  },
}
SCSS
$custom: #125131;
$custom-light: #5a8269;
$custom-dark: #000000;
JSON
{
  "hex": "#125131",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 49
  },
  "hsl": {
    "h": 149.524,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38687,
    "c": 0.08308,
    "h": 156.3
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#125131
secondary
#8A3560
accent
#4195E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #125131

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

Preview Lab → · Contrast checker → · Palette generator →

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