#125A17#125A17

#125A17 is a dark, vivid green. Relative luminance 0.075; OKLCH L 41.0% C 0.121 H 143.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#125A17
RGBrgb(18, 90, 23)
HSLhsl(124, 67%, 21%)
HSVhsv(124, 80%, 35%)
CMYKcmyk(80%, 0%, 74.4%, 64.7%)
CIE-LABlab(32.92, -36.10, 31.19)
CIE-LCHlch(32.92, 47.71, 139.17°)
OKLaboklab(40.99% -0.0977 0.0715)
OKLCHoklch(40.99% 0.121 143.8)
XYZxyz(4.0600, 7.5023, 2.0446)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A17 #5A1255
analogous
#315A12 #125A17 #125A3B
triadic
#125A17 #17125A #5A1712
tetradic
#125A17 #12315A #5A1255 #5A3B12
square
#125A17 #12315A #5A1255 #5A3B12
split-complementary
#125A17 #3B125A #5A1231
monochromatic
#051A07 #08270A #125A17 #1C8D24 #26C031

Accessibility & contrast

On white

8.40
#125A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#125A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A17
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A17#FFFFFF#000000##FFFFFF
##125A171.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510D
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125a17;
/* rgb */ color: rgb(18, 90, 23);
/* oklch */ color: oklch(41.0% 0.121 143.8);
Tailwind
colors: {
  custom: {
    50: '#5e8958',
    500: '#125a17',
    950: '#000000',
  },
}
SCSS
$custom: #125a17;
$custom-light: #5e8958;
$custom-dark: #000000;
JSON
{
  "hex": "#125a17",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 124.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40988,
    "c": 0.12108,
    "h": 143.8
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#125A17
secondary
#93358C
accent
#3EDEEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #125A17

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

Preview Lab → · Contrast checker → · Palette generator →

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