#125525#125525

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

Color values

HEX#125525
RGBrgb(18, 85, 37)
HSLhsl(137, 65%, 20%)
HSVhsv(137, 79%, 33%)
CMYKcmyk(78.8%, 0%, 56.5%, 66.7%)
CIE-LABlab(31.25, -32.23, 22.07)
CIE-LCHlch(31.25, 39.06, 145.60°)
OKLaboklab(39.65% -0.0867 0.0532)
OKLCHoklch(39.65% 0.102 148.5)
XYZxyz(3.8316, 6.7587, 2.8525)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125525 #551242
analogous
#205512 #125525 #125546
triadic
#125525 #251255 #552512
tetradic
#125525 #122055 #551242 #554612
square
#125525 #122055 #551242 #554612
split-complementary
#125525 #461255 #551220
monochromatic
#05190B #07220F #125525 #1D883B #27BA51

Accessibility & contrast

On white

8.93
#125525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125525
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125525#FFFFFF#000000##FFFFFF
##1255251.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125525;
/* rgb */ color: rgb(18, 85, 37);
/* oklch */ color: oklch(39.7% 0.102 148.5);
Tailwind
colors: {
  custom: {
    50: '#5c8661',
    500: '#125525',
    950: '#000000',
  },
}
SCSS
$custom: #125525;
$custom-light: #5c8661;
$custom-dark: #000000;
JSON
{
  "hex": "#125525",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 37
  },
  "hsl": {
    "h": 137.015,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39653,
    "c": 0.10175,
    "h": 148.5
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#125525
secondary
#8E3575
accent
#40B8E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #125525

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

Preview Lab → · Contrast checker → · Palette generator →

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