#125012#125012

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

Color values

HEX#125012
RGBrgb(18, 80, 18)
HSLhsl(120, 63%, 19%)
HSVhsv(120, 78%, 31%)
CMYKcmyk(77.5%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.18, -32.85, 29.50)
CIE-LCHlch(29.18, 44.15, 138.07°)
OKLaboklab(37.87% -0.0892 0.0673)
OKLCHoklch(37.87% 0.112 143)
XYZxyz(3.2271, 5.9092, 1.5427)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125012 #501250
analogous
#315012 #125012 #125031
triadic
#125012 #121250 #501212
tetradic
#125012 #123150 #501250 #503112
square
#125012 #123150 #501250 #503112
split-complementary
#125012 #311250 #501231
monochromatic
#061906 #071E07 #125012 #1D821D #28B428

Accessibility & contrast

On white

9.62
#125012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#125012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125012
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125012#FFFFFF#000000##FFFFFF
##1250121.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#014D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #125012;
/* rgb */ color: rgb(18, 80, 18);
/* oklch */ color: oklch(37.9% 0.112 143.0);
Tailwind
colors: {
  custom: {
    50: '#5b8254',
    500: '#125012',
    950: '#000000',
  },
}
SCSS
$custom: #125012;
$custom-light: #5b8254;
$custom-dark: #000000;
JSON
{
  "hex": "#125012",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37869,
    "c": 0.1117,
    "h": 143
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#125012
secondary
#893589
accent
#41E6E6
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#040A03
muted
#797C78

Preview Lab

Preview with #125012

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

Preview Lab → · Contrast checker → · Palette generator →

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