#125C25#125C25

#125C25 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.112 H 147.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#125C25
RGBrgb(18, 92, 37)
HSLhsl(135, 67%, 22%)
HSVhsv(135, 80%, 36%)
CMYKcmyk(80.4%, 0%, 59.8%, 63.9%)
CIE-LABlab(33.81, -35.02, 25.16)
CIE-LCHlch(33.81, 43.12, 144.30°)
OKLaboklab(41.77% -0.0942 0.0601)
OKLCHoklch(41.77% 0.112 147.5)
XYZxyz(4.4102, 7.9159, 3.0454)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C25 #5C1249
analogous
#245C12 #125C25 #125C4A
triadic
#125C25 #25125C #5C2512
tetradic
#125C25 #12245C #5C1249 #5C4A12
square
#125C25 #12245C #5C1249 #5C4A12
split-complementary
#125C25 #4A125C #5C1224
monochromatic
#051A0A #082910 #125C25 #1C8F3A #26C24E

Accessibility & contrast

On white

8.13
#125C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#125C25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C25
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C25#FFFFFF#000000##FFFFFF
##125C251.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5320
Deuteranopia (green-blind)
#554D29
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c25;
/* rgb */ color: rgb(18, 92, 37);
/* oklch */ color: oklch(41.8% 0.112 147.5);
Tailwind
colors: {
  custom: {
    50: '#5e8b61',
    500: '#125c25',
    950: '#000000',
  },
}
SCSS
$custom: #125c25;
$custom-light: #5e8b61;
$custom-dark: #000000;
JSON
{
  "hex": "#125c25",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 37
  },
  "hsl": {
    "h": 135.405,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41769,
    "c": 0.11175,
    "h": 147.5
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#125C25
secondary
#94357C
accent
#3EBEEA
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125C25

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

Preview Lab → · Contrast checker → · Palette generator →

#125C25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva