#125529#125529

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

Color values

HEX#125529
RGBrgb(18, 85, 41)
HSLhsl(141, 65%, 20%)
HSVhsv(141, 79%, 33%)
CMYKcmyk(78.8%, 0%, 51.8%, 66.7%)
CIE-LABlab(31.31, -31.51, 19.84)
CIE-LCHlch(31.31, 37.24, 147.80°)
OKLaboklab(39.72% -0.0848 0.0484)
OKLCHoklch(39.72% 0.098 150.3)
XYZxyz(3.8979, 6.7852, 3.2016)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125529 #55123E
analogous
#1C5512 #125529 #12554A
triadic
#125529 #291255 #552912
tetradic
#125529 #121C55 #55123E #554A12
square
#125529 #121C55 #55123E #554A12
split-complementary
#125529 #4A1255 #55121C
monochromatic
#05190C #072211 #125529 #1D8841 #27BA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125529#FFFFFF#000000##FFFFFF
##1255291.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)
#564D25
Deuteranopia (green-blind)
#4E472C
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125529;
/* rgb */ color: rgb(18, 85, 41);
/* oklch */ color: oklch(39.7% 0.098 150.3);
Tailwind
colors: {
  custom: {
    50: '#5b8663',
    500: '#125529',
    950: '#000000',
  },
}
SCSS
$custom: #125529;
$custom-light: #5b8663;
$custom-dark: #000000;
JSON
{
  "hex": "#125529",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 41
  },
  "hsl": {
    "h": 140.597,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.09763,
    "h": 150.3
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#125529
secondary
#8E356F
accent
#40AEE8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125529

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

Preview Lab → · Contrast checker → · Palette generator →

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