#125130#125130

#125130 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.084 H 155.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#125130
RGBrgb(18, 81, 48)
HSLhsl(149, 64%, 19%)
HSVhsv(149, 78%, 32%)
CMYKcmyk(77.8%, 0%, 40.7%, 68.2%)
CIE-LABlab(29.98, -28.34, 13.90)
CIE-LCHlch(29.98, 31.57, 153.86°)
OKLaboklab(38.66% -0.0766 0.0348)
OKLCHoklch(38.66% 0.084 155.6)
XYZxyz(3.7250, 6.2264, 3.8012)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125130 #511233
analogous
#145112 #125130 #125150
triadic
#125130 #301251 #513012
tetradic
#125130 #121451 #511233 #515012
square
#125130 #121451 #511233 #515012
split-complementary
#125130 #501251 #511214
monochromatic
#06190F #071F12 #125130 #1D834E #28B56B

Accessibility & contrast

On white

9.35
#125130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#125130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125130
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125130#FFFFFF#000000##FFFFFF
##1251301.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2E
Deuteranopia (green-blind)
#494432
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125130;
/* rgb */ color: rgb(18, 81, 48);
/* oklch */ color: oklch(38.7% 0.084 155.6);
Tailwind
colors: {
  custom: {
    50: '#5a8268',
    500: '#125130',
    950: '#000000',
  },
}
SCSS
$custom: #125130;
$custom-light: #5a8268;
$custom-dark: #000000;
JSON
{
  "hex": "#125130",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 48
  },
  "hsl": {
    "h": 148.571,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38663,
    "c": 0.08414,
    "h": 155.6
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#125130
secondary
#8A3561
accent
#4198E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #125130

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

Preview Lab → · Contrast checker → · Palette generator →

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