#125E18#125E18

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

Color values

HEX#125E18
RGBrgb(18, 94, 24)
HSLhsl(125, 68%, 22%)
HSVhsv(125, 81%, 37%)
CMYKcmyk(80.9%, 0%, 74.5%, 63.1%)
CIE-LABlab(34.39, -37.46, 32.30)
CIE-LCHlch(34.39, 49.46, 139.23°)
OKLaboklab(42.21% -0.1014 0.074)
OKLCHoklch(42.21% 0.125 143.9)
XYZxyz(4.4167, 8.1994, 2.2139)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E18 #5E1258
analogous
#325E12 #125E18 #125E3E
triadic
#125E18 #18125E #5E1812
tetradic
#125E18 #12325E #5E1258 #5E3E12
square
#125E18 #12325E #5E1258 #5E3E12
split-complementary
#125E18 #3E125E #5E1232
monochromatic
#051A07 #082B0B #125E18 #1C9125 #26C532

Accessibility & contrast

On white

7.95
#125E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125E18
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E18#FFFFFF#000000##FFFFFF
##125E181.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125e18;
/* rgb */ color: rgb(18, 94, 24);
/* oklch */ color: oklch(42.2% 0.125 143.9);
Tailwind
colors: {
  custom: {
    50: '#5f8c59',
    500: '#125e18',
    950: '#000000',
  },
}
SCSS
$custom: #125e18;
$custom-light: #5f8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#125e18",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 124.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42212,
    "c": 0.12549,
    "h": 143.9
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#125E18
secondary
#96358F
accent
#3DDDEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125E18

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

Preview Lab → · Contrast checker → · Palette generator →

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