#125711#125711

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

Color values

HEX#125711
RGBrgb(18, 87, 17)
HSLhsl(119, 67%, 20%)
HSVhsv(119, 80%, 34%)
CMYKcmyk(79.3%, 0%, 80.5%, 65.9%)
CIE-LABlab(31.77, -35.57, 32.57)
CIE-LCHlch(31.77, 48.23, 137.52°)
OKLaboklab(40.02% -0.0966 0.0735)
OKLCHoklch(40.02% 0.121 142.7)
XYZxyz(3.7586, 6.9850, 1.6804)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125711 #561157
analogous
#355711 #125711 #115733
triadic
#125711 #111257 #571112
tetradic
#125711 #113557 #561157 #573311
square
#125711 #113557 #561157 #573311
split-complementary
#125711 #331157 #571135
monochromatic
#051A05 #072407 #125711 #1D8A1B #27BD25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125711#FFFFFF#000000##FFFFFF
##1257111.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)
#594E04
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125711;
/* rgb */ color: rgb(18, 87, 17);
/* oklch */ color: oklch(40.0% 0.121 142.7);
Tailwind
colors: {
  custom: {
    50: '#5d8754',
    500: '#125711',
    950: '#000000',
  },
}
SCSS
$custom: #125711;
$custom-light: #5d8754;
$custom-dark: #000000;
JSON
{
  "hex": "#125711",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 119.143,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40016,
    "c": 0.12142,
    "h": 142.7
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#125711
secondary
#8F3490
accent
#3EEAE8
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125711

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

Preview Lab → · Contrast checker → · Palette generator →

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