#125717#125717

#125717 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.117 H 143.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#125717
RGBrgb(18, 87, 23)
HSLhsl(124, 66%, 21%)
HSVhsv(124, 79%, 34%)
CMYKcmyk(79.3%, 0%, 73.6%, 65.9%)
CIE-LABlab(31.82, -34.98, 30.02)
CIE-LCHlch(31.82, 46.09, 139.36°)
OKLaboklab(40.07% -0.0947 0.069)
OKLCHoklch(40.07% 0.117 143.9)
XYZxyz(3.8121, 7.0064, 1.9619)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125717 #571252
analogous
#2F5712 #125717 #125739
triadic
#125717 #171257 #571712
tetradic
#125717 #122F57 #571252 #573912
square
#125717 #122F57 #571252 #573912
split-complementary
#125717 #391257 #57122F
monochromatic
#051907 #08240A #125717 #1C8A24 #27BC32

Accessibility & contrast

On white

8.74
#125717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125717
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125717#FFFFFF#000000##FFFFFF
##1257171.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0E
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125717;
/* rgb */ color: rgb(18, 87, 23);
/* oklch */ color: oklch(40.1% 0.117 143.9);
Tailwind
colors: {
  custom: {
    50: '#5d8758',
    500: '#125717',
    950: '#000000',
  },
}
SCSS
$custom: #125717;
$custom-light: #5d8758;
$custom-dark: #000000;
JSON
{
  "hex": "#125717",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 124.348,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40072,
    "c": 0.11717,
    "h": 143.9
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#125717
secondary
#903589
accent
#3FDCE9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125717

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

Preview Lab → · Contrast checker → · Palette generator →

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