#125716#125716

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

Color values

HEX#125716
RGBrgb(18, 87, 22)
HSLhsl(123, 66%, 21%)
HSVhsv(123, 79%, 34%)
CMYKcmyk(79.3%, 0%, 74.7%, 65.9%)
CIE-LABlab(31.81, -35.09, 30.47)
CIE-LCHlch(31.81, 46.47, 139.03°)
OKLaboklab(40.06% -0.095 0.0698)
OKLCHoklch(40.06% 0.118 143.7)
XYZxyz(3.8022, 7.0025, 1.9101)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125716 #571253
analogous
#305712 #125716 #125738
triadic
#125716 #161257 #571612
tetradic
#125716 #123057 #571253 #573812
square
#125716 #123057 #571253 #573812
split-complementary
#125716 #381257 #571230
monochromatic
#051906 #082409 #125716 #1C8A23 #27BC30

Accessibility & contrast

On white

8.75
#125716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125716
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125716#FFFFFF#000000##FFFFFF
##1257161.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125716;
/* rgb */ color: rgb(18, 87, 22);
/* oklch */ color: oklch(40.1% 0.118 143.7);
Tailwind
colors: {
  custom: {
    50: '#5d8757',
    500: '#125716',
    950: '#000000',
  },
}
SCSS
$custom: #125716;
$custom-light: #5d8757;
$custom-dark: #000000;
JSON
{
  "hex": "#125716",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 22
  },
  "hsl": {
    "h": 123.478,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.11793,
    "h": 143.7
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#125716
secondary
#90358A
accent
#3FDFE9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125716

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

Preview Lab → · Contrast checker → · Palette generator →

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