#125125#125125

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

Color values

HEX#125125
RGBrgb(18, 81, 37)
HSLhsl(138, 64%, 19%)
HSVhsv(138, 78%, 32%)
CMYKcmyk(77.8%, 0%, 54.3%, 68.2%)
CIE-LABlab(29.78, -30.58, 20.25)
CIE-LCHlch(29.78, 36.67, 146.49°)
OKLaboklab(38.44% -0.0823 0.0492)
OKLCHoklch(38.44% 0.096 149.2)
XYZxyz(3.5255, 6.1466, 2.7505)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125125 #51123E
analogous
#1F5112 #125125 #125145
triadic
#125125 #251251 #512512
tetradic
#125125 #121F51 #51123E #514512
square
#125125 #121F51 #51123E #514512
split-complementary
#125125 #451251 #51121F
monochromatic
#06190B #071F0E #125125 #1D833C #28B553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125125#FFFFFF#000000##FFFFFF
##1251251.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)
#524921
Deuteranopia (green-blind)
#4A4428
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125125;
/* rgb */ color: rgb(18, 81, 37);
/* oklch */ color: oklch(38.4% 0.096 149.2);
Tailwind
colors: {
  custom: {
    50: '#5a8260',
    500: '#125125',
    950: '#000000',
  },
}
SCSS
$custom: #125125;
$custom-light: #5a8260;
$custom-dark: #000000;
JSON
{
  "hex": "#125125",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 37
  },
  "hsl": {
    "h": 138.095,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38436,
    "c": 0.09586,
    "h": 149.2
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#125125
secondary
#8A3570
accent
#41B5E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A05
muted
#797C79

Preview Lab

Preview with #125125

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

Preview Lab → · Contrast checker → · Palette generator →

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