#125F18#125F18

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

Color values

HEX#125F18
RGBrgb(18, 95, 24)
HSLhsl(125, 68%, 22%)
HSVhsv(125, 81%, 37%)
CMYKcmyk(81.1%, 0%, 74.7%, 62.7%)
CIE-LABlab(34.76, -37.82, 32.68)
CIE-LCHlch(34.76, 49.99, 139.17°)
OKLaboklab(42.51% -0.1024 0.0748)
OKLCHoklch(42.51% 0.127 143.9)
XYZxyz(4.5062, 8.3784, 2.2437)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F18 #5F1259
analogous
#335F12 #125F18 #125F3F
triadic
#125F18 #18125F #5F1812
tetradic
#125F18 #12335F #5F1259 #5F3F12
square
#125F18 #12335F #5F1259 #5F3F12
split-complementary
#125F18 #3F125F #5F1233
monochromatic
#051A06 #082C0B #125F18 #1C9225 #25C632

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125F18#FFFFFF#000000##FFFFFF
##125F181.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)
#61550D
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f18;
/* rgb */ color: rgb(18, 95, 24);
/* oklch */ color: oklch(42.5% 0.127 143.9);
Tailwind
colors: {
  custom: {
    50: '#5f8d59',
    500: '#125f18',
    950: '#000000',
  },
}
SCSS
$custom: #125f18;
$custom-light: #5f8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#125f18",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 124.675,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.12675,
    "h": 143.9
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#125F18
secondary
#973690
accent
#3DDDEB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #125F18

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

Preview Lab → · Contrast checker → · Palette generator →

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