#125A18#125A18

#125A18 is a dark, vivid green. Relative luminance 0.075; OKLCH L 41.0% C 0.120 H 144.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#125A18
RGBrgb(18, 90, 24)
HSLhsl(125, 67%, 21%)
HSVhsv(125, 80%, 35%)
CMYKcmyk(80%, 0%, 73.3%, 64.7%)
CIE-LABlab(32.93, -35.99, 30.75)
CIE-LCHlch(32.93, 47.33, 139.49°)
OKLaboklab(41% -0.0974 0.0707)
OKLCHoklch(41% 0.12 144)
XYZxyz(4.0702, 7.5064, 2.0983)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A18 #5A1254
analogous
#305A12 #125A18 #125A3C
triadic
#125A18 #18125A #5A1812
tetradic
#125A18 #12305A #5A1254 #5A3C12
square
#125A18 #12305A #5A1254 #5A3C12
split-complementary
#125A18 #3C125A #5A1230
monochromatic
#051A07 #08270A #125A18 #1C8D26 #26C033

Accessibility & contrast

On white

8.40
#125A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#125A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A18
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A18#FFFFFF#000000##FFFFFF
##125A181.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#544B1E
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125a18;
/* rgb */ color: rgb(18, 90, 24);
/* oklch */ color: oklch(41.0% 0.120 144.0);
Tailwind
colors: {
  custom: {
    50: '#5e8959',
    500: '#125a18',
    950: '#000000',
  },
}
SCSS
$custom: #125a18;
$custom-light: #5e8959;
$custom-dark: #000000;
JSON
{
  "hex": "#125a18",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 24
  },
  "hsl": {
    "h": 125,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40998,
    "c": 0.12033,
    "h": 144
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#125A18
secondary
#93358B
accent
#3EDBEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #125A18

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

Preview Lab → · Contrast checker → · Palette generator →

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