#125524#125524

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

Color values

HEX#125524
RGBrgb(18, 85, 36)
HSLhsl(136, 65%, 20%)
HSVhsv(136, 79%, 33%)
CMYKcmyk(78.8%, 0%, 57.6%, 66.7%)
CIE-LABlab(31.24, -32.40, 22.61)
CIE-LCHlch(31.24, 39.51, 145.08°)
OKLaboklab(39.64% -0.0872 0.0544)
OKLCHoklch(39.64% 0.103 148)
XYZxyz(3.8161, 6.7525, 2.7710)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125524 #551243
analogous
#225512 #125524 #125545
triadic
#125524 #241255 #552412
tetradic
#125524 #122255 #551243 #554512
square
#125524 #122255 #551243 #554512
split-complementary
#125524 #451255 #551222
monochromatic
#05190B #07220F #125524 #1D8839 #27BA4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125524#FFFFFF#000000##FFFFFF
##1255241.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)
#564D20
Deuteranopia (green-blind)
#4E4728
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125524;
/* rgb */ color: rgb(18, 85, 36);
/* oklch */ color: oklch(39.6% 0.103 148.0);
Tailwind
colors: {
  custom: {
    50: '#5c8660',
    500: '#125524',
    950: '#000000',
  },
}
SCSS
$custom: #125524;
$custom-light: #5c8660;
$custom-dark: #000000;
JSON
{
  "hex": "#125524",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 36
  },
  "hsl": {
    "h": 136.119,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39637,
    "c": 0.10276,
    "h": 148
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#125524
secondary
#8E3576
accent
#40BBE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #125524

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

Preview Lab → · Contrast checker → · Palette generator →

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