#125B25#125B25

#125B25 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.110 H 147.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#125B25
RGBrgb(18, 91, 37)
HSLhsl(136, 67%, 21%)
HSVhsv(136, 80%, 36%)
CMYKcmyk(80.2%, 0%, 59.3%, 64.3%)
CIE-LABlab(33.44, -34.63, 24.73)
CIE-LCHlch(33.44, 42.55, 144.47°)
OKLaboklab(41.47% -0.0932 0.0591)
OKLCHoklch(41.47% 0.11 147.6)
XYZxyz(4.3241, 7.7438, 3.0167)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B25 #5B1248
analogous
#245B12 #125B25 #125B4A
triadic
#125B25 #25125B #5B2512
tetradic
#125B25 #12245B #5B1248 #5B4A12
square
#125B25 #12245B #5B1248 #5B4A12
split-complementary
#125B25 #4A125B #5B1224
monochromatic
#051A0A #082810 #125B25 #1C8E3A #26C14F

Accessibility & contrast

On white

8.24
#125B25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#125B25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B25
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B25#FFFFFF#000000##FFFFFF
##125B251.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5220
Deuteranopia (green-blind)
#544C29
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b25;
/* rgb */ color: rgb(18, 91, 37);
/* oklch */ color: oklch(41.5% 0.110 147.6);
Tailwind
colors: {
  custom: {
    50: '#5d8a61',
    500: '#125b25',
    950: '#000000',
  },
}
SCSS
$custom: #125b25;
$custom-light: #5d8a61;
$custom-dark: #000000;
JSON
{
  "hex": "#125b25",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 37
  },
  "hsl": {
    "h": 135.616,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41468,
    "c": 0.11034,
    "h": 147.6
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#125B25
secondary
#93357B
accent
#3EBDEA
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125B25

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

Preview Lab → · Contrast checker → · Palette generator →

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