#125E1A#125E1A

#125E1A is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.124 H 144.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#125E1A
RGBrgb(18, 94, 26)
HSLhsl(126, 68%, 22%)
HSVhsv(126, 81%, 37%)
CMYKcmyk(80.9%, 0%, 72.3%, 63.1%)
CIE-LABlab(34.41, -37.24, 31.41)
CIE-LCHlch(34.41, 48.72, 139.86°)
OKLaboklab(42.23% -0.1007 0.0724)
OKLCHoklch(42.23% 0.124 144.3)
XYZxyz(4.4383, 8.2081, 2.3275)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E1A #5E1256
analogous
#305E12 #125E1A #125E40
triadic
#125E1A #1A125E #5E1A12
tetradic
#125E1A #12305E #5E1256 #5E4012
square
#125E1A #12305E #5E1256 #5E4012
split-complementary
#125E1A #40125E #5E1230
monochromatic
#051A07 #082B0C #125E1A #1C9128 #26C536

Accessibility & contrast

On white

7.95
#125E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#125E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E1A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E1A#FFFFFF#000000##FFFFFF
##125E1A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605411
Deuteranopia (green-blind)
#574F20
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e1a;
/* rgb */ color: rgb(18, 94, 26);
/* oklch */ color: oklch(42.2% 0.124 144.3);
Tailwind
colors: {
  custom: {
    50: '#5f8c5a',
    500: '#125e1a',
    950: '#000000',
  },
}
SCSS
$custom: #125e1a;
$custom-light: #5f8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#125e1a",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 26
  },
  "hsl": {
    "h": 126.316,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42232,
    "c": 0.12399,
    "h": 144.3
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#125E1A
secondary
#96358C
accent
#3DD8EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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