#125F17#125F17

#125F17 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.127 H 143.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#125F17
RGBrgb(18, 95, 23)
HSLhsl(124, 68%, 22%)
HSVhsv(124, 81%, 37%)
CMYKcmyk(81.1%, 0%, 75.8%, 62.7%)
CIE-LABlab(34.75, -37.93, 33.11)
CIE-LCHlch(34.75, 50.35, 138.88°)
OKLaboklab(42.51% -0.1027 0.0755)
OKLCHoklch(42.51% 0.127 143.7)
XYZxyz(4.4960, 8.3744, 2.1899)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F17 #5F125A
analogous
#345F12 #125F17 #125F3E
triadic
#125F17 #17125F #5F1712
tetradic
#125F17 #12345F #5F125A #5F3E12
square
#125F17 #12345F #5F125A #5F3E12
split-complementary
#125F17 #3E125F #5F1234
monochromatic
#051A06 #082C0B #125F17 #1C9223 #25C630

Accessibility & contrast

On white

7.85
#125F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#125F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F17
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F17#FFFFFF#000000##FFFFFF
##125F171.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550B
Deuteranopia (green-blind)
#594F1E
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f17;
/* rgb */ color: rgb(18, 95, 23);
/* oklch */ color: oklch(42.5% 0.127 143.7);
Tailwind
colors: {
  custom: {
    50: '#5f8d59',
    500: '#125f17',
    950: '#000000',
  },
}
SCSS
$custom: #125f17;
$custom-light: #5f8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#125f17",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 123.896,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42505,
    "c": 0.12747,
    "h": 143.7
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#125F17
secondary
#973691
accent
#3DE0EB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #125F17

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

Preview Lab → · Contrast checker → · Palette generator →

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