#125F25#125F25

#125F25 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.116 H 147.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#125F25
RGBrgb(18, 95, 37)
HSLhsl(135, 68%, 22%)
HSVhsv(135, 81%, 37%)
CMYKcmyk(81.1%, 0%, 61.1%, 62.7%)
CIE-LABlab(34.90, -36.18, 26.46)
CIE-LCHlch(34.90, 44.82, 143.82°)
OKLaboklab(42.67% -0.0974 0.0629)
OKLCHoklch(42.67% 0.116 147.1)
XYZxyz(4.6752, 8.4460, 3.1338)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F25 #5F124C
analogous
#265F12 #125F25 #125F4C
triadic
#125F25 #25125F #5F2512
tetradic
#125F25 #12265F #5F124C #5F4C12
square
#125F25 #12265F #5F124C #5F4C12
split-complementary
#125F25 #4C125F #5F1226
monochromatic
#051A0A #082C11 #125F25 #1C9239 #25C64D

Accessibility & contrast

On white

7.81
#125F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#125F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F25
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F25#FFFFFF#000000##FFFFFF
##125F251.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561F
Deuteranopia (green-blind)
#58502A
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f25;
/* rgb */ color: rgb(18, 95, 37);
/* oklch */ color: oklch(42.7% 0.116 147.1);
Tailwind
colors: {
  custom: {
    50: '#5e8d61',
    500: '#125f25',
    950: '#000000',
  },
}
SCSS
$custom: #125f25;
$custom-light: #5e8d61;
$custom-dark: #000000;
JSON
{
  "hex": "#125f25",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 37
  },
  "hsl": {
    "h": 134.805,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42671,
    "c": 0.11591,
    "h": 147.1
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#125F25
secondary
#97367F
accent
#3DC0EB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125F25

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

Preview Lab → · Contrast checker → · Palette generator →

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