#125917#125917

#125917 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.120 H 143.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#125917
RGBrgb(18, 89, 23)
HSLhsl(124, 66%, 21%)
HSVhsv(124, 80%, 35%)
CMYKcmyk(79.8%, 0%, 74.2%, 65.1%)
CIE-LABlab(32.56, -35.73, 30.80)
CIE-LCHlch(32.56, 47.17, 139.23°)
OKLaboklab(40.68% -0.0967 0.0707)
OKLCHoklch(40.68% 0.12 143.8)
XYZxyz(3.9762, 7.3348, 2.0166)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125917 #591254
analogous
#305912 #125917 #12593A
triadic
#125917 #171259 #591712
tetradic
#125917 #123059 #591254 #593A12
square
#125917 #123059 #591254 #593A12
split-complementary
#125917 #3A1259 #591230
monochromatic
#051907 #08260A #125917 #1C8C24 #27BF31

Accessibility & contrast

On white

8.51
#125917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#125917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125917
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125917#FFFFFF#000000##FFFFFF
##1259171.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500D
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125917;
/* rgb */ color: rgb(18, 89, 23);
/* oklch */ color: oklch(40.7% 0.120 143.8);
Tailwind
colors: {
  custom: {
    50: '#5d8958',
    500: '#125917',
    950: '#000000',
  },
}
SCSS
$custom: #125917;
$custom-light: #5d8958;
$custom-dark: #000000;
JSON
{
  "hex": "#125917",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 124.225,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40683,
    "c": 0.11979,
    "h": 143.8
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#125917
secondary
#92358B
accent
#3FDDE9
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125917

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

Preview Lab → · Contrast checker → · Palette generator →

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