#125631#125631

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

Color values

HEX#125631
RGBrgb(18, 86, 49)
HSLhsl(147, 65%, 20%)
HSVhsv(147, 79%, 34%)
CMYKcmyk(79.1%, 0%, 43%, 66.3%)
CIE-LABlab(31.82, -30.32, 15.74)
CIE-LCHlch(31.82, 34.16, 152.56°)
OKLaboklab(40.19% -0.0818 0.0392)
OKLCHoklch(40.19% 0.091 154.4)
XYZxyz(4.1312, 7.0054, 4.0396)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125631 #561237
analogous
#155612 #125631 #125653
triadic
#125631 #311256 #563112
tetradic
#125631 #121556 #561237 #565312
square
#125631 #121556 #561237 #565312
split-complementary
#125631 #531256 #561215
monochromatic
#05190E #072314 #125631 #1D894E #27BB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125631#FFFFFF#000000##FFFFFF
##1256311.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)
#564E2E
Deuteranopia (green-blind)
#4E4933
Tritanopia (blue-blind)
#00554D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125631;
/* rgb */ color: rgb(18, 86, 49);
/* oklch */ color: oklch(40.2% 0.091 154.4);
Tailwind
colors: {
  custom: {
    50: '#5c8669',
    500: '#125631',
    950: '#000000',
  },
}
SCSS
$custom: #125631;
$custom-light: #5c8669;
$custom-dark: #000000;
JSON
{
  "hex": "#125631",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 49
  },
  "hsl": {
    "h": 147.353,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.09069,
    "h": 154.4
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#125631
secondary
#8F3566
accent
#3F9BE8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125631

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

Preview Lab → · Contrast checker → · Palette generator →

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