#125019#125019

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

Color values

HEX#125019
RGBrgb(18, 80, 25)
HSLhsl(127, 63%, 19%)
HSVhsv(127, 78%, 31%)
CMYKcmyk(77.5%, 0%, 68.8%, 68.6%)
CIE-LABlab(29.25, -32.03, 26.22)
CIE-LCHlch(29.25, 41.40, 140.70°)
OKLaboklab(37.95% -0.0866 0.0612)
OKLCHoklch(37.95% 0.106 144.7)
XYZxyz(3.2934, 5.9357, 1.8917)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125019 #501249
analogous
#2A5012 #125019 #125038
triadic
#125019 #191250 #501912
tetradic
#125019 #122A50 #501249 #503812
square
#125019 #122A50 #501249 #503812
split-complementary
#125019 #381250 #50122A
monochromatic
#061908 #071E09 #125019 #1D8229 #28B438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125019#FFFFFF#000000##FFFFFF
##1250191.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)
#524813
Deuteranopia (green-blind)
#4A431E
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #125019;
/* rgb */ color: rgb(18, 80, 25);
/* oklch */ color: oklch(37.9% 0.106 144.7);
Tailwind
colors: {
  custom: {
    50: '#5b8258',
    500: '#125019',
    950: '#000000',
  },
}
SCSS
$custom: #125019;
$custom-light: #5b8258;
$custom-dark: #000000;
JSON
{
  "hex": "#125019",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 126.774,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37946,
    "c": 0.10606,
    "h": 144.7
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#125019
secondary
#89357F
accent
#41D4E6
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #125019

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

Preview Lab → · Contrast checker → · Palette generator →

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