#125527#125527

#125527 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.100 H 149.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#125527
RGBrgb(18, 85, 39)
HSLhsl(139, 65%, 20%)
HSVhsv(139, 79%, 33%)
CMYKcmyk(78.8%, 0%, 54.1%, 66.7%)
CIE-LABlab(31.28, -31.88, 20.96)
CIE-LCHlch(31.28, 38.15, 146.67°)
OKLaboklab(39.69% -0.0858 0.0509)
OKLCHoklch(39.69% 0.1 149.3)
XYZxyz(3.8639, 6.7716, 3.0225)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125527 #551240
analogous
#1E5512 #125527 #125548
triadic
#125527 #271255 #552712
tetradic
#125527 #121E55 #551240 #554812
square
#125527 #121E55 #551240 #554812
split-complementary
#125527 #481255 #55121E
monochromatic
#05190C #072210 #125527 #1D883E #27BA55

Accessibility & contrast

On white

8.92
#125527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#125527 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125527
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125527#FFFFFF#000000##FFFFFF
##1255271.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D23
Deuteranopia (green-blind)
#4E472A
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125527;
/* rgb */ color: rgb(18, 85, 39);
/* oklch */ color: oklch(39.7% 0.100 149.3);
Tailwind
colors: {
  custom: {
    50: '#5b8662',
    500: '#125527',
    950: '#000000',
  },
}
SCSS
$custom: #125527;
$custom-light: #5b8662;
$custom-dark: #000000;
JSON
{
  "hex": "#125527",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 39
  },
  "hsl": {
    "h": 138.806,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.09971,
    "h": 149.3
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#125527
secondary
#8E3572
accent
#40B3E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125527

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

Preview Lab → · Contrast checker → · Palette generator →

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