#125531#125531

#125531 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.089 H 154.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#125531
RGBrgb(18, 85, 49)
HSLhsl(148, 65%, 20%)
HSVhsv(148, 79%, 33%)
CMYKcmyk(78.8%, 0%, 42.4%, 66.7%)
CIE-LABlab(31.46, -29.88, 15.26)
CIE-LCHlch(31.46, 33.55, 152.95°)
OKLaboklab(39.89% -0.0806 0.0381)
OKLCHoklch(39.89% 0.089 154.7)
XYZxyz(4.0520, 6.8469, 4.0132)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125531 #551236
analogous
#145512 #125531 #125552
triadic
#125531 #311255 #553112
tetradic
#125531 #121455 #551236 #555212
square
#125531 #121455 #551236 #555212
split-complementary
#125531 #521255 #551214
monochromatic
#05190F #072214 #125531 #1D884E #27BA6B

Accessibility & contrast

On white

8.86
#125531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#125531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125531
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125531#FFFFFF#000000##FFFFFF
##1255311.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2F
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125531;
/* rgb */ color: rgb(18, 85, 49);
/* oklch */ color: oklch(39.9% 0.089 154.7);
Tailwind
colors: {
  custom: {
    50: '#5b8569',
    500: '#125531',
    950: '#000000',
  },
}
SCSS
$custom: #125531;
$custom-light: #5b8569;
$custom-dark: #000000;
JSON
{
  "hex": "#125531",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 49
  },
  "hsl": {
    "h": 147.761,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39889,
    "c": 0.08917,
    "h": 154.7
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#125531
secondary
#8E3565
accent
#409AE8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125531

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

Preview Lab → · Contrast checker → · Palette generator →

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