#125526#125526

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

Color values

HEX#125526
RGBrgb(18, 85, 38)
HSLhsl(138, 65%, 20%)
HSVhsv(138, 79%, 33%)
CMYKcmyk(78.8%, 0%, 55.3%, 66.7%)
CIE-LABlab(31.27, -32.05, 21.52)
CIE-LCHlch(31.27, 38.61, 146.13°)
OKLaboklab(39.67% -0.0862 0.0521)
OKLCHoklch(39.67% 0.101 148.9)
XYZxyz(3.8475, 6.7651, 2.9364)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125526 #551241
analogous
#205512 #125526 #125547
triadic
#125526 #261255 #552612
tetradic
#125526 #122055 #551241 #554712
square
#125526 #122055 #551241 #554712
split-complementary
#125526 #471255 #551220
monochromatic
#05190B #07220F #125526 #1D883D #27BA53

Accessibility & contrast

On white

8.92
#125526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125526
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125526#FFFFFF#000000##FFFFFF
##1255261.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125526;
/* rgb */ color: rgb(18, 85, 38);
/* oklch */ color: oklch(39.7% 0.101 148.9);
Tailwind
colors: {
  custom: {
    50: '#5c8661',
    500: '#125526',
    950: '#000000',
  },
}
SCSS
$custom: #125526;
$custom-light: #5c8661;
$custom-dark: #000000;
JSON
{
  "hex": "#125526",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 38
  },
  "hsl": {
    "h": 137.91,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3967,
    "c": 0.10074,
    "h": 148.9
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#125526
secondary
#8E3573
accent
#40B6E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125526

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

Preview Lab → · Contrast checker → · Palette generator →

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