#125523#125523

#125523 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.104 H 147.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#125523
RGBrgb(18, 85, 35)
HSLhsl(135, 65%, 20%)
HSVhsv(135, 79%, 33%)
CMYKcmyk(78.8%, 0%, 58.8%, 66.7%)
CIE-LABlab(31.22, -32.56, 23.16)
CIE-LCHlch(31.22, 39.96, 144.58°)
OKLaboklab(39.62% -0.0877 0.0555)
OKLCHoklch(39.62% 0.104 147.7)
XYZxyz(3.8010, 6.7465, 2.6917)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125523 #551244
analogous
#225512 #125523 #125544
triadic
#125523 #231255 #552312
tetradic
#125523 #122255 #551244 #554412
square
#125523 #122255 #551244 #554412
split-complementary
#125523 #441255 #551222
monochromatic
#05190A #07220E #125523 #1D8838 #27BA4D

Accessibility & contrast

On white

8.94
#125523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125523
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125523#FFFFFF#000000##FFFFFF
##1255231.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1E
Deuteranopia (green-blind)
#4E4727
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125523;
/* rgb */ color: rgb(18, 85, 35);
/* oklch */ color: oklch(39.6% 0.104 147.7);
Tailwind
colors: {
  custom: {
    50: '#5c865f',
    500: '#125523',
    950: '#000000',
  },
}
SCSS
$custom: #125523;
$custom-light: #5c865f;
$custom-dark: #000000;
JSON
{
  "hex": "#125523",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 35
  },
  "hsl": {
    "h": 135.224,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3962,
    "c": 0.10376,
    "h": 147.7
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#125523
secondary
#8E3577
accent
#40BDE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #125523

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

Preview Lab → · Contrast checker → · Palette generator →

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