#125112#125112

#125112 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.2% C 0.113 H 143.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#125112
RGBrgb(18, 81, 18)
HSLhsl(120, 64%, 19%)
HSVhsv(120, 78%, 32%)
CMYKcmyk(77.8%, 0%, 77.8%, 68.2%)
CIE-LABlab(29.56, -33.23, 29.89)
CIE-LCHlch(29.56, 44.70, 138.03°)
OKLaboklab(38.18% -0.0902 0.0681)
OKLCHoklch(38.18% 0.113 143)
XYZxyz(3.3009, 6.0568, 1.5673)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125112 #511251
analogous
#325112 #125112 #125132
triadic
#125112 #121251 #511212
tetradic
#125112 #123251 #511251 #513212
square
#125112 #123251 #511251 #513212
split-complementary
#125112 #321251 #511232
monochromatic
#061906 #071F07 #125112 #1D831D #28B528

Accessibility & contrast

On white

9.50
#125112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#125112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125112
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125112#FFFFFF#000000##FFFFFF
##1251121.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#014E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125112;
/* rgb */ color: rgb(18, 81, 18);
/* oklch */ color: oklch(38.2% 0.113 143.0);
Tailwind
colors: {
  custom: {
    50: '#5b8354',
    500: '#125112',
    950: '#000000',
  },
}
SCSS
$custom: #125112;
$custom-light: #5b8354;
$custom-dark: #000000;
JSON
{
  "hex": "#125112",
  "rgb": {
    "r": 18,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38178,
    "c": 0.11302,
    "h": 143
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#125112
secondary
#8A358A
accent
#41E7E7
background
#F5F8F5
surface
#E9EFE8
border
#C5CAC4
text
#040A03
muted
#797C78

Preview Lab

Preview with #125112

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

Preview Lab → · Contrast checker → · Palette generator →

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