#125E15#125E15

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

Color values

HEX#125E15
RGBrgb(18, 94, 21)
HSLhsl(122, 68%, 22%)
HSVhsv(122, 81%, 37%)
CMYKcmyk(80.9%, 0%, 77.7%, 63.1%)
CIE-LABlab(34.37, -37.76, 33.57)
CIE-LCHlch(34.37, 50.52, 138.36°)
OKLaboklab(42.18% -0.1023 0.0762)
OKLCHoklch(42.18% 0.128 143.3)
XYZxyz(4.3872, 8.1876, 2.0585)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E15 #5E125B
analogous
#355E12 #125E15 #125E3B
triadic
#125E15 #15125E #5E1512
tetradic
#125E15 #12355E #5E125B #5E3B12
square
#125E15 #12355E #5E125B #5E3B12
split-complementary
#125E15 #3B125E #5E1235
monochromatic
#051A06 #082B0A #125E15 #1C9120 #26C52C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125E15#FFFFFF#000000##FFFFFF
##125E151.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)
#605408
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e15;
/* rgb */ color: rgb(18, 94, 21);
/* oklch */ color: oklch(42.2% 0.128 143.3);
Tailwind
colors: {
  custom: {
    50: '#5f8d57',
    500: '#125e15',
    950: '#000000',
  },
}
SCSS
$custom: #125e15;
$custom-light: #5f8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#125e15",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 122.368,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42184,
    "c": 0.12759,
    "h": 143.3
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#125E15
secondary
#963592
accent
#3DE4EB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #125E15

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

Preview Lab → · Contrast checker → · Palette generator →

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