#125B18#125B18

#125B18 is a dark, vivid green. Relative luminance 0.077; OKLCH L 41.3% C 0.122 H 144.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#125B18
RGBrgb(18, 91, 24)
HSLhsl(125, 67%, 21%)
HSVhsv(125, 80%, 36%)
CMYKcmyk(80.2%, 0%, 73.6%, 64.3%)
CIE-LABlab(33.30, -36.36, 31.14)
CIE-LCHlch(33.30, 47.87, 139.42°)
OKLaboklab(41.3% -0.0984 0.0715)
OKLCHoklch(41.3% 0.122 144)
XYZxyz(4.1551, 7.6762, 2.1267)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B18 #5B1255
analogous
#315B12 #125B18 #125B3D
triadic
#125B18 #18125B #5B1812
tetradic
#125B18 #12315B #5B1255 #5B3D12
square
#125B18 #12315B #5B1255 #5B3D12
split-complementary
#125B18 #3D125B #5B1231
monochromatic
#051A07 #08280B #125B18 #1C8E25 #26C133

Accessibility & contrast

On white

8.28
#125B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#125B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B18
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B18#FFFFFF#000000##FFFFFF
##125B181.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520E
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125b18;
/* rgb */ color: rgb(18, 91, 24);
/* oklch */ color: oklch(41.3% 0.122 144.0);
Tailwind
colors: {
  custom: {
    50: '#5e8a59',
    500: '#125b18',
    950: '#000000',
  },
}
SCSS
$custom: #125b18;
$custom-light: #5e8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#125b18",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 24
  },
  "hsl": {
    "h": 124.932,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41302,
    "c": 0.12164,
    "h": 144
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#125B18
secondary
#93358C
accent
#3EDCEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125B18

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

Preview Lab → · Contrast checker → · Palette generator →

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