#125A25#125A25

#125A25 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.109 H 147.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#125A25
RGBrgb(18, 90, 37)
HSLhsl(136, 67%, 21%)
HSVhsv(136, 80%, 35%)
CMYKcmyk(80%, 0%, 58.9%, 64.7%)
CIE-LABlab(33.08, -34.23, 24.29)
CIE-LCHlch(33.08, 41.97, 144.64°)
OKLaboklab(41.17% -0.0921 0.0582)
OKLCHoklch(41.17% 0.109 147.7)
XYZxyz(4.2392, 7.5740, 2.9884)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A25 #5A1247
analogous
#235A12 #125A25 #125A49
triadic
#125A25 #25125A #5A2512
tetradic
#125A25 #12235A #5A1247 #5A4912
square
#125A25 #12235A #5A1247 #5A4912
split-complementary
#125A25 #49125A #5A1223
monochromatic
#051A0A #082710 #125A25 #1C8D3A #26C04F

Accessibility & contrast

On white

8.35
#125A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#125A25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A25
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A25#FFFFFF#000000##FFFFFF
##125A251.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5120
Deuteranopia (green-blind)
#534C29
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a25;
/* rgb */ color: rgb(18, 90, 37);
/* oklch */ color: oklch(41.2% 0.109 147.7);
Tailwind
colors: {
  custom: {
    50: '#5d8961',
    500: '#125a25',
    950: '#000000',
  },
}
SCSS
$custom: #125a25;
$custom-light: #5d8961;
$custom-dark: #000000;
JSON
{
  "hex": "#125a25",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 37
  },
  "hsl": {
    "h": 135.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.10894,
    "h": 147.7
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#125A25
secondary
#93357A
accent
#3EBCEA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125A25

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

Preview Lab → · Contrast checker → · Palette generator →

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