#125B26#125B26

#125B26 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.109 H 148.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#125B26
RGBrgb(18, 91, 38)
HSLhsl(136, 67%, 21%)
HSVhsv(136, 80%, 36%)
CMYKcmyk(80.2%, 0%, 58.2%, 64.3%)
CIE-LABlab(33.46, -34.46, 24.20)
CIE-LCHlch(33.46, 42.11, 144.93°)
OKLaboklab(41.48% -0.0927 0.058)
OKLCHoklch(41.48% 0.109 148)
XYZxyz(4.3401, 7.7502, 3.1006)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B26 #5B1247
analogous
#235B12 #125B26 #125B4B
triadic
#125B26 #26125B #5B2612
tetradic
#125B26 #12235B #5B1247 #5B4B12
square
#125B26 #12235B #5B1247 #5B4B12
split-complementary
#125B26 #4B125B #5B1223
monochromatic
#051A0B #082811 #125B26 #1C8E3B #26C151

Accessibility & contrast

On white

8.23
#125B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125B26
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B26#FFFFFF#000000##FFFFFF
##125B261.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125b26;
/* rgb */ color: rgb(18, 91, 38);
/* oklch */ color: oklch(41.5% 0.109 148.0);
Tailwind
colors: {
  custom: {
    50: '#5d8a62',
    500: '#125b26',
    950: '#000000',
  },
}
SCSS
$custom: #125b26;
$custom-light: #5d8a62;
$custom-dark: #000000;
JSON
{
  "hex": "#125b26",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 38
  },
  "hsl": {
    "h": 136.438,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.10937,
    "h": 148
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #125B26

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

Preview Lab → · Contrast checker → · Palette generator →

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