#125017#125017

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

Color values

HEX#125017
RGBrgb(18, 80, 23)
HSLhsl(125, 63%, 19%)
HSVhsv(125, 78%, 31%)
CMYKcmyk(77.5%, 0%, 71.2%, 68.6%)
CIE-LABlab(29.23, -32.29, 27.20)
CIE-LCHlch(29.23, 42.22, 139.89°)
OKLaboklab(37.92% -0.0874 0.0631)
OKLCHoklch(37.92% 0.108 144.2)
XYZxyz(3.2726, 5.9274, 1.7821)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125017 #50124B
analogous
#2C5012 #125017 #125036
triadic
#125017 #171250 #501712
tetradic
#125017 #122C50 #50124B #503612
square
#125017 #122C50 #50124B #503612
split-complementary
#125017 #361250 #50122C
monochromatic
#061907 #071E09 #125017 #1D8225 #28B434

Accessibility & contrast

On white

9.61
#125017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125017
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125017#FFFFFF#000000##FFFFFF
##1250171.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125017;
/* rgb */ color: rgb(18, 80, 23);
/* oklch */ color: oklch(37.9% 0.108 144.2);
Tailwind
colors: {
  custom: {
    50: '#5b8257',
    500: '#125017',
    950: '#000000',
  },
}
SCSS
$custom: #125017;
$custom-light: #5b8257;
$custom-dark: #000000;
JSON
{
  "hex": "#125017",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 124.839,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37922,
    "c": 0.10778,
    "h": 144.2
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#125017
secondary
#893582
accent
#41D9E6
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #125017

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

Preview Lab → · Contrast checker → · Palette generator →

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