#125E26#125E26

#125E26 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.114 H 147.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#125E26
RGBrgb(18, 94, 38)
HSLhsl(136, 68%, 22%)
HSVhsv(136, 81%, 37%)
CMYKcmyk(80.9%, 0%, 59.6%, 63.1%)
CIE-LABlab(34.55, -35.64, 25.51)
CIE-LCHlch(34.55, 43.82, 144.41°)
OKLaboklab(42.39% -0.0959 0.0609)
OKLCHoklch(42.39% 0.114 147.6)
XYZxyz(4.6017, 8.2734, 3.1878)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E26 #5E124A
analogous
#245E12 #125E26 #125E4C
triadic
#125E26 #26125E #5E2612
tetradic
#125E26 #12245E #5E124A #5E4C12
square
#125E26 #12245E #5E124A #5E4C12
split-complementary
#125E26 #4C125E #5E1224
monochromatic
#051A0A #082B11 #125E26 #1C913B #26C550

Accessibility & contrast

On white

7.91
#125E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#125E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E26
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E26#FFFFFF#000000##FFFFFF
##125E261.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5521
Deuteranopia (green-blind)
#564F2A
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e26;
/* rgb */ color: rgb(18, 94, 38);
/* oklch */ color: oklch(42.4% 0.114 147.6);
Tailwind
colors: {
  custom: {
    50: '#5e8c62',
    500: '#125e26',
    950: '#000000',
  },
}
SCSS
$custom: #125e26;
$custom-light: #5e8c62;
$custom-dark: #000000;
JSON
{
  "hex": "#125e26",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 38
  },
  "hsl": {
    "h": 135.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42386,
    "c": 0.11358,
    "h": 147.6
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#125E26
secondary
#96357D
accent
#3DBDEB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125E26

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

Preview Lab → · Contrast checker → · Palette generator →

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