#125D15#125D15

#125D15 is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.9% C 0.126 H 143.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#125D15
RGBrgb(18, 93, 21)
HSLhsl(122, 68%, 22%)
HSVhsv(122, 81%, 36%)
CMYKcmyk(80.6%, 0%, 77.4%, 63.5%)
CIE-LABlab(34.01, -37.40, 33.19)
CIE-LCHlch(34.01, 50.00, 138.41°)
OKLaboklab(41.88% -0.1014 0.0754)
OKLCHoklch(41.88% 0.126 143.4)
XYZxyz(4.2989, 8.0109, 2.0290)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D15 #5D125A
analogous
#355D12 #125D15 #125D3B
triadic
#125D15 #15125D #5D1512
tetradic
#125D15 #12355D #5D125A #5D3B12
square
#125D15 #12355D #5D125A #5D3B12
split-complementary
#125D15 #3B125D #5D1235
monochromatic
#051A06 #082A09 #125D15 #1C9021 #26C42C

Accessibility & contrast

On white

8.07
#125D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#125D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D15
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D15#FFFFFF#000000##FFFFFF
##125D151.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5309
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d15;
/* rgb */ color: rgb(18, 93, 21);
/* oklch */ color: oklch(41.9% 0.126 143.4);
Tailwind
colors: {
  custom: {
    50: '#5f8c57',
    500: '#125d15',
    950: '#000000',
  },
}
SCSS
$custom: #125d15;
$custom-light: #5f8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#125d15",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 122.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41881,
    "c": 0.12633,
    "h": 143.4
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#125D15
secondary
#953592
accent
#3DE4EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #125D15

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

Preview Lab → · Contrast checker → · Palette generator →

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