#125C17#125C17

#125C17 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.124 H 143.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#125C17
RGBrgb(18, 92, 23)
HSLhsl(124, 67%, 22%)
HSVhsv(124, 80%, 36%)
CMYKcmyk(80.4%, 0%, 75%, 63.9%)
CIE-LABlab(33.66, -36.83, 31.97)
CIE-LCHlch(33.66, 48.77, 139.05°)
OKLaboklab(41.6% -0.0997 0.0731)
OKLCHoklch(41.6% 0.124 143.7)
XYZxyz(4.2310, 7.8443, 2.1016)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C17 #5C1257
analogous
#325C12 #125C17 #125C3C
triadic
#125C17 #17125C #5C1712
tetradic
#125C17 #12325C #5C1257 #5C3C12
square
#125C17 #12325C #5C1257 #5C3C12
split-complementary
#125C17 #3C125C #5C1232
monochromatic
#051A06 #08290A #125C17 #1C8F24 #26C231

Accessibility & contrast

On white

8.17
#125C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#125C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C17
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C17#FFFFFF#000000##FFFFFF
##125C171.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530C
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c17;
/* rgb */ color: rgb(18, 92, 23);
/* oklch */ color: oklch(41.6% 0.124 143.7);
Tailwind
colors: {
  custom: {
    50: '#5e8b58',
    500: '#125c17',
    950: '#000000',
  },
}
SCSS
$custom: #125c17;
$custom-light: #5e8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#125c17",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 124.054,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.12366,
    "h": 143.7
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#125C17
secondary
#94358E
accent
#3EDFEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #125C17

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

Preview Lab → · Contrast checker → · Palette generator →

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