#125A26#125A26

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

Color values

HEX#125A26
RGBrgb(18, 90, 38)
HSLhsl(137, 67%, 21%)
HSVhsv(137, 80%, 35%)
CMYKcmyk(80%, 0%, 57.8%, 64.7%)
CIE-LABlab(33.09, -34.07, 23.76)
CIE-LCHlch(33.09, 41.53, 145.11°)
OKLaboklab(41.18% -0.0916 0.0571)
OKLCHoklch(41.18% 0.108 148.1)
XYZxyz(4.2551, 7.5804, 3.0722)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A26 #5A1246
analogous
#225A12 #125A26 #125A4A
triadic
#125A26 #26125A #5A2612
tetradic
#125A26 #12225A #5A1246 #5A4A12
square
#125A26 #12225A #5A1246 #5A4A12
split-complementary
#125A26 #4A125A #5A1222
monochromatic
#051A0B #082710 #125A26 #1C8D3C #26C051

Accessibility & contrast

On white

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

On black

2.52
#125A26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##125A26#FFFFFF#000000##FFFFFF
##125A261.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125a26;
/* rgb */ color: rgb(18, 90, 38);
/* oklch */ color: oklch(41.2% 0.108 148.1);
Tailwind
colors: {
  custom: {
    50: '#5d8962',
    500: '#125a26',
    950: '#000000',
  },
}
SCSS
$custom: #125a26;
$custom-light: #5d8962;
$custom-dark: #000000;
JSON
{
  "hex": "#125a26",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 38
  },
  "hsl": {
    "h": 136.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41182,
    "c": 0.10796,
    "h": 148.1
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#125A26
secondary
#933579
accent
#3EBAEA
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125A26

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

Preview Lab → · Contrast checker → · Palette generator →

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