#125018#125018

#125018 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.9% C 0.107 H 144.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#125018
RGBrgb(18, 80, 24)
HSLhsl(126, 63%, 19%)
HSVhsv(126, 78%, 31%)
CMYKcmyk(77.5%, 0%, 70%, 68.6%)
CIE-LABlab(29.24, -32.16, 26.71)
CIE-LCHlch(29.24, 41.81, 140.29°)
OKLaboklab(37.93% -0.087 0.0622)
OKLCHoklch(37.93% 0.107 144.5)
XYZxyz(3.2828, 5.9315, 1.8359)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125018 #50124A
analogous
#2B5012 #125018 #125037
triadic
#125018 #181250 #501812
tetradic
#125018 #122B50 #50124A #503712
square
#125018 #122B50 #50124A #503712
split-complementary
#125018 #371250 #50122B
monochromatic
#061907 #071E09 #125018 #1D8227 #28B436

Accessibility & contrast

On white

9.60
#125018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#125018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125018
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125018#FFFFFF#000000##FFFFFF
##1250181.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524811
Deuteranopia (green-blind)
#4A431D
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #125018;
/* rgb */ color: rgb(18, 80, 24);
/* oklch */ color: oklch(37.9% 0.107 144.5);
Tailwind
colors: {
  custom: {
    50: '#5b8257',
    500: '#125018',
    950: '#000000',
  },
}
SCSS
$custom: #125018;
$custom-light: #5b8257;
$custom-dark: #000000;
JSON
{
  "hex": "#125018",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 125.806,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37934,
    "c": 0.10693,
    "h": 144.5
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#125018
secondary
#893581
accent
#41D6E6
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #125018

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

Preview Lab → · Contrast checker → · Palette generator →

#125018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva