#125532#125532

#125532 is a dark, moderate green. Relative luminance 0.069; OKLCH L 39.9% C 0.088 H 155.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#125532
RGBrgb(18, 85, 50)
HSLhsl(149, 65%, 20%)
HSVhsv(149, 79%, 33%)
CMYKcmyk(78.8%, 0%, 41.2%, 66.7%)
CIE-LABlab(31.48, -29.66, 14.68)
CIE-LCHlch(31.48, 33.10, 153.67°)
OKLaboklab(39.91% -0.0801 0.0367)
OKLCHoklch(39.91% 0.088 155.4)
XYZxyz(4.0733, 6.8554, 4.1255)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125532 #551235
analogous
#135512 #125532 #125554
triadic
#125532 #321255 #553212
tetradic
#125532 #121355 #551235 #555412
square
#125532 #121355 #551235 #555412
split-complementary
#125532 #541255 #551213
monochromatic
#05190F #072214 #125532 #1D8850 #27BA6D

Accessibility & contrast

On white

8.86
#125532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#125532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125532
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125532#FFFFFF#000000##FFFFFF
##1255321.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E30
Deuteranopia (green-blind)
#4C4834
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125532;
/* rgb */ color: rgb(18, 85, 50);
/* oklch */ color: oklch(39.9% 0.088 155.4);
Tailwind
colors: {
  custom: {
    50: '#5b856a',
    500: '#125532',
    950: '#000000',
  },
}
SCSS
$custom: #125532;
$custom-light: #5b856a;
$custom-dark: #000000;
JSON
{
  "hex": "#125532",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 50
  },
  "hsl": {
    "h": 148.657,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.08812,
    "h": 155.4
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#125532
secondary
#8E3563
accent
#4098E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125532

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

Preview Lab → · Contrast checker → · Palette generator →

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