#125E17#125E17

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

Color values

HEX#125E17
RGBrgb(18, 94, 23)
HSLhsl(124, 68%, 22%)
HSVhsv(124, 81%, 37%)
CMYKcmyk(80.9%, 0%, 75.5%, 63.1%)
CIE-LABlab(34.39, -37.56, 32.73)
CIE-LCHlch(34.39, 49.82, 138.93°)
OKLaboklab(42.2% -0.1017 0.0747)
OKLCHoklch(42.2% 0.126 143.7)
XYZxyz(4.4065, 8.1954, 2.1601)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E17 #5E1259
analogous
#335E12 #125E17 #125E3D
triadic
#125E17 #17125E #5E1712
tetradic
#125E17 #12335E #5E1259 #5E3D12
square
#125E17 #12335E #5E1259 #5E3D12
split-complementary
#125E17 #3D125E #5E1233
monochromatic
#051A06 #082B0A #125E17 #1C9124 #26C530

Accessibility & contrast

On white

7.96
#125E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125E17
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E17#FFFFFF#000000##FFFFFF
##125E171.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540C
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e17;
/* rgb */ color: rgb(18, 94, 23);
/* oklch */ color: oklch(42.2% 0.126 143.7);
Tailwind
colors: {
  custom: {
    50: '#5f8c59',
    500: '#125e17',
    950: '#000000',
  },
}
SCSS
$custom: #125e17;
$custom-light: #5f8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#125e17",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 123.947,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42202,
    "c": 0.1262,
    "h": 143.7
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#125E17
secondary
#963590
accent
#3DDFEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125E17

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

Preview Lab → · Contrast checker → · Palette generator →

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