#125D18#125D18

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

Color values

HEX#125D18
RGBrgb(18, 93, 24)
HSLhsl(125, 68%, 22%)
HSVhsv(125, 81%, 36%)
CMYKcmyk(80.6%, 0%, 74.2%, 63.5%)
CIE-LABlab(34.03, -37.09, 31.91)
CIE-LCHlch(34.03, 48.93, 139.29°)
OKLaboklab(41.91% -0.1004 0.0732)
OKLCHoklch(41.91% 0.124 143.9)
XYZxyz(4.3284, 8.0227, 2.1844)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D18 #5D1257
analogous
#325D12 #125D18 #125D3E
triadic
#125D18 #18125D #5D1812
tetradic
#125D18 #12325D #5D1257 #5D3E12
square
#125D18 #12325D #5D1257 #5D3E12
split-complementary
#125D18 #3E125D #5D1232
monochromatic
#051A07 #082A0B #125D18 #1C9025 #26C432

Accessibility & contrast

On white

8.06
#125D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125D18
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D18#FFFFFF#000000##FFFFFF
##125D181.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125d18;
/* rgb */ color: rgb(18, 93, 24);
/* oklch */ color: oklch(41.9% 0.124 143.9);
Tailwind
colors: {
  custom: {
    50: '#5f8c59',
    500: '#125d18',
    950: '#000000',
  },
}
SCSS
$custom: #125d18;
$custom-light: #5f8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#125d18",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 124.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41909,
    "c": 0.12421,
    "h": 143.9
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#125D18
secondary
#95358E
accent
#3DDDEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125D18

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

Preview Lab → · Contrast checker → · Palette generator →

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