#125712#125712

#125712 is a dark, vivid green. Relative luminance 0.070; OKLCH L 40.0% C 0.121 H 142.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#125712
RGBrgb(18, 87, 18)
HSLhsl(120, 66%, 21%)
HSVhsv(120, 79%, 34%)
CMYKcmyk(79.3%, 0%, 79.3%, 65.9%)
CIE-LABlab(31.78, -35.48, 32.17)
CIE-LCHlch(31.78, 47.90, 137.80°)
OKLaboklab(40.03% -0.0963 0.0728)
OKLCHoklch(40.03% 0.121 142.9)
XYZxyz(3.7666, 6.9882, 1.7225)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125712 #571257
analogous
#345712 #125712 #125734
triadic
#125712 #121257 #571212
tetradic
#125712 #123457 #571257 #573412
square
#125712 #123457 #571257 #573412
split-complementary
#125712 #341257 #571234
monochromatic
#051905 #082408 #125712 #1C8A1C #27BC27

Accessibility & contrast

On white

8.76
#125712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#125712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125712
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125712#FFFFFF#000000##FFFFFF
##1257121.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125712;
/* rgb */ color: rgb(18, 87, 18);
/* oklch */ color: oklch(40.0% 0.121 142.9);
Tailwind
colors: {
  custom: {
    50: '#5d8755',
    500: '#125712',
    950: '#000000',
  },
}
SCSS
$custom: #125712;
$custom-light: #5d8755;
$custom-dark: #000000;
JSON
{
  "hex": "#125712",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.12076,
    "h": 142.9
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#125712
secondary
#903590
accent
#3FE9E9
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125712

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

Preview Lab → · Contrast checker → · Palette generator →

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