#125628#125628

#125628 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.0% C 0.100 H 149.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#125628
RGBrgb(18, 86, 40)
HSLhsl(139, 65%, 20%)
HSVhsv(139, 79%, 34%)
CMYKcmyk(79.1%, 0%, 53.5%, 66.3%)
CIE-LABlab(31.66, -32.11, 20.86)
CIE-LCHlch(31.66, 38.29, 146.99°)
OKLaboklab(40.01% -0.0864 0.0507)
OKLCHoklch(40.01% 0.1 149.6)
XYZxyz(3.9599, 6.9369, 3.1373)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125628 #561240
analogous
#1E5612 #125628 #12564A
triadic
#125628 #281256 #562812
tetradic
#125628 #121E56 #561240 #564A12
square
#125628 #121E56 #561240 #564A12
split-complementary
#125628 #4A1256 #56121E
monochromatic
#05190C #072310 #125628 #1D8940 #27BB57

Accessibility & contrast

On white

8.80
#125628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#125628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125628
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125628#FFFFFF#000000##FFFFFF
##1256281.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E24
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125628;
/* rgb */ color: rgb(18, 86, 40);
/* oklch */ color: oklch(40.0% 0.100 149.6);
Tailwind
colors: {
  custom: {
    50: '#5c8663',
    500: '#125628',
    950: '#000000',
  },
}
SCSS
$custom: #125628;
$custom-light: #5c8663;
$custom-dark: #000000;
JSON
{
  "hex": "#125628",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 40
  },
  "hsl": {
    "h": 139.412,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40008,
    "c": 0.10015,
    "h": 149.6
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#125628
secondary
#8F3572
accent
#3FB2E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125628

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

Preview Lab → · Contrast checker → · Palette generator →

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