#125528#125528

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

Color values

HEX#125528
RGBrgb(18, 85, 40)
HSLhsl(140, 65%, 20%)
HSVhsv(140, 79%, 33%)
CMYKcmyk(78.8%, 0%, 52.9%, 66.7%)
CIE-LABlab(31.30, -31.70, 20.40)
CIE-LCHlch(31.30, 37.70, 147.23°)
OKLaboklab(39.71% -0.0853 0.0497)
OKLCHoklch(39.71% 0.099 149.8)
XYZxyz(3.8806, 6.7784, 3.1109)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125528 #55123F
analogous
#1E5512 #125528 #125549
triadic
#125528 #281255 #552812
tetradic
#125528 #121E55 #55123F #554912
square
#125528 #121E55 #55123F #554912
split-complementary
#125528 #491255 #55121E
monochromatic
#05190C #072210 #125528 #1D8840 #27BA58

Accessibility & contrast

On white

8.91
#125528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#125528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125528
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125528#FFFFFF#000000##FFFFFF
##1255281.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125528;
/* rgb */ color: rgb(18, 85, 40);
/* oklch */ color: oklch(39.7% 0.099 149.8);
Tailwind
colors: {
  custom: {
    50: '#5b8663',
    500: '#125528',
    950: '#000000',
  },
}
SCSS
$custom: #125528;
$custom-light: #5b8663;
$custom-dark: #000000;
JSON
{
  "hex": "#125528",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 40
  },
  "hsl": {
    "h": 139.701,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39706,
    "c": 0.09868,
    "h": 149.8
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#125528
secondary
#8E3571
accent
#40B1E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125528

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

Preview Lab → · Contrast checker → · Palette generator →

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