#125F15#125F15

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

Color values

HEX#125F15
RGBrgb(18, 95, 21)
HSLhsl(122, 68%, 22%)
HSVhsv(122, 81%, 37%)
CMYKcmyk(81.1%, 0%, 77.9%, 62.7%)
CIE-LABlab(34.73, -38.12, 33.94)
CIE-LCHlch(34.73, 51.04, 138.32°)
OKLaboklab(42.49% -0.1033 0.077)
OKLCHoklch(42.49% 0.129 143.3)
XYZxyz(4.4767, 8.3666, 2.0883)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F15 #5F125C
analogous
#355F12 #125F15 #125F3C
triadic
#125F15 #15125F #5F1512
tetradic
#125F15 #12355F #5F125C #5F3C12
square
#125F15 #12355F #5F125C #5F3C12
split-complementary
#125F15 #3C125F #5F1235
monochromatic
#051A06 #082C0A #125F15 #1C9220 #25C62C

Accessibility & contrast

On white

7.86
#125F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#125F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F15
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F15#FFFFFF#000000##FFFFFF
##125F151.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f15;
/* rgb */ color: rgb(18, 95, 21);
/* oklch */ color: oklch(42.5% 0.129 143.3);
Tailwind
colors: {
  custom: {
    50: '#5f8d58',
    500: '#125f15',
    950: '#000000',
  },
}
SCSS
$custom: #125f15;
$custom-light: #5f8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#125f15",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 122.338,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42487,
    "c": 0.12883,
    "h": 143.3
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #125F15

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

Preview Lab → · Contrast checker → · Palette generator →

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