#125931#125931

#125931 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.095 H 153.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#125931
RGBrgb(18, 89, 49)
HSLhsl(146, 66%, 21%)
HSVhsv(146, 80%, 35%)
CMYKcmyk(79.8%, 0%, 44.9%, 65.1%)
CIE-LABlab(32.91, -31.61, 17.17)
CIE-LCHlch(32.91, 35.97, 151.48°)
OKLaboklab(41.09% -0.0851 0.0426)
OKLCHoklch(41.09% 0.095 153.4)
XYZxyz(4.3758, 7.4946, 4.1211)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125931 #59123A
analogous
#165912 #125931 #125954
triadic
#125931 #311259 #593112
tetradic
#125931 #121659 #59123A #595412
square
#125931 #121659 #59123A #595412
split-complementary
#125931 #541259 #591216
monochromatic
#05190E #082615 #125931 #1C8C4D #27BF69

Accessibility & contrast

On white

8.40
#125931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#125931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125931
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125931#FFFFFF#000000##FFFFFF
##1259311.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512E
Deuteranopia (green-blind)
#504B34
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125931;
/* rgb */ color: rgb(18, 89, 49);
/* oklch */ color: oklch(41.1% 0.095 153.4);
Tailwind
colors: {
  custom: {
    50: '#5c8969',
    500: '#125931',
    950: '#000000',
  },
}
SCSS
$custom: #125931;
$custom-light: #5c8969;
$custom-dark: #000000;
JSON
{
  "hex": "#125931",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 49
  },
  "hsl": {
    "h": 146.197,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.09518,
    "h": 153.4
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#125931
secondary
#923569
accent
#3F9FE9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #125931

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

Preview Lab → · Contrast checker → · Palette generator →

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