#125124#125124

#125124 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.097 H 148.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#125124
RGBrgb(18, 81, 36)
HSLhsl(137, 64%, 19%)
HSVhsv(137, 78%, 32%)
CMYKcmyk(77.8%, 0%, 55.6%, 68.2%)
CIE-LABlab(29.76, -30.75, 20.81)
CIE-LCHlch(29.76, 37.13, 145.92°)
OKLaboklab(38.42% -0.0828 0.0504)
OKLCHoklch(38.42% 0.097 148.7)
XYZxyz(3.5100, 6.1404, 2.6690)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125124 #51123F
analogous
#205112 #125124 #125144
triadic
#125124 #241251 #512412
tetradic
#125124 #122051 #51123F #514412
square
#125124 #122051 #51123F #514412
split-complementary
#125124 #441251 #511220
monochromatic
#06190B #071F0E #125124 #1D833A #28B551

Accessibility & contrast

On white

9.42
#125124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#125124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125124
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125124#FFFFFF#000000##FFFFFF
##1251241.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524920
Deuteranopia (green-blind)
#4A4427
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125124;
/* rgb */ color: rgb(18, 81, 36);
/* oklch */ color: oklch(38.4% 0.097 148.7);
Tailwind
colors: {
  custom: {
    50: '#5a8260',
    500: '#125124',
    950: '#000000',
  },
}
SCSS
$custom: #125124;
$custom-light: #5a8260;
$custom-dark: #000000;
JSON
{
  "hex": "#125124",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 36
  },
  "hsl": {
    "h": 137.143,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38418,
    "c": 0.09689,
    "h": 148.7
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#125124
secondary
#8A3572
accent
#41B7E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A05
muted
#797C79

Preview Lab

Preview with #125124

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

Preview Lab → · Contrast checker → · Palette generator →

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