#125530#125530

#125530 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.090 H 154.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#125530
RGBrgb(18, 85, 48)
HSLhsl(147, 65%, 20%)
HSVhsv(147, 79%, 33%)
CMYKcmyk(78.8%, 0%, 43.5%, 66.7%)
CIE-LABlab(31.44, -30.10, 15.84)
CIE-LCHlch(31.44, 34.01, 152.24°)
OKLaboklab(39.87% -0.0812 0.0394)
OKLCHoklch(39.87% 0.09 154.1)
XYZxyz(4.0311, 6.8385, 3.9033)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125530 #551237
analogous
#155512 #125530 #125552
triadic
#125530 #301255 #553012
tetradic
#125530 #121555 #551237 #555212
square
#125530 #121555 #551237 #555212
split-complementary
#125530 #521255 #551215
monochromatic
#05190E #072213 #125530 #1D884D #27BA69

Accessibility & contrast

On white

8.87
#125530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125530
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125530#FFFFFF#000000##FFFFFF
##1255301.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125530;
/* rgb */ color: rgb(18, 85, 48);
/* oklch */ color: oklch(39.9% 0.090 154.1);
Tailwind
colors: {
  custom: {
    50: '#5b8568',
    500: '#125530',
    950: '#000000',
  },
}
SCSS
$custom: #125530;
$custom-light: #5b8568;
$custom-dark: #000000;
JSON
{
  "hex": "#125530",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 48
  },
  "hsl": {
    "h": 146.866,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39867,
    "c": 0.09024,
    "h": 154.1
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#125530
secondary
#8E3566
accent
#409DE8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125530

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

Preview Lab → · Contrast checker → · Palette generator →

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