#125D26#125D26

#125D26 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.112 H 147.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#125D26
RGBrgb(18, 93, 38)
HSLhsl(136, 68%, 22%)
HSVhsv(136, 81%, 36%)
CMYKcmyk(80.6%, 0%, 59.1%, 63.5%)
CIE-LABlab(34.18, -35.25, 25.07)
CIE-LCHlch(34.18, 43.26, 144.58°)
OKLaboklab(42.09% -0.0948 0.06)
OKLCHoklch(42.09% 0.112 147.7)
XYZxyz(4.5133, 8.0967, 3.1583)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D26 #5D1249
analogous
#245D12 #125D26 #125D4C
triadic
#125D26 #26125D #5D2612
tetradic
#125D26 #12245D #5D1249 #5D4C12
square
#125D26 #12245D #5D1249 #5D4C12
split-complementary
#125D26 #4C125D #5D1224
monochromatic
#051A0A #082A11 #125D26 #1C903B #26C450

Accessibility & contrast

On white

8.02
#125D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#125D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D26
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D26#FFFFFF#000000##FFFFFF
##125D261.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5421
Deuteranopia (green-blind)
#564E2A
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d26;
/* rgb */ color: rgb(18, 93, 38);
/* oklch */ color: oklch(42.1% 0.112 147.7);
Tailwind
colors: {
  custom: {
    50: '#5e8c62',
    500: '#125d26',
    950: '#000000',
  },
}
SCSS
$custom: #125d26;
$custom-light: #5e8c62;
$custom-dark: #000000;
JSON
{
  "hex": "#125d26",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 38
  },
  "hsl": {
    "h": 136,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.11218,
    "h": 147.7
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#125D26
secondary
#95357C
accent
#3DBCEA
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125D26

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

Preview Lab → · Contrast checker → · Palette generator →

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