#125629#125629

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

Color values

HEX#125629
RGBrgb(18, 86, 41)
HSLhsl(140, 65%, 20%)
HSVhsv(140, 79%, 34%)
CMYKcmyk(79.1%, 0%, 52.3%, 66.3%)
CIE-LABlab(31.68, -31.92, 20.30)
CIE-LCHlch(31.68, 37.83, 147.54°)
OKLaboklab(40.03% -0.0859 0.0495)
OKLCHoklch(40.03% 0.099 150)
XYZxyz(3.9772, 6.9438, 3.2281)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125629 #56123F
analogous
#1D5612 #125629 #12564B
triadic
#125629 #291256 #562912
tetradic
#125629 #121D56 #56123F #564B12
square
#125629 #121D56 #56123F #564B12
split-complementary
#125629 #4B1256 #56121D
monochromatic
#05190C #072311 #125629 #1D8941 #27BB59

Accessibility & contrast

On white

8.79
#125629 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125629
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125629#FFFFFF#000000##FFFFFF
##1256291.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E25
Deuteranopia (green-blind)
#4F482C
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125629;
/* rgb */ color: rgb(18, 86, 41);
/* oklch */ color: oklch(40.0% 0.099 150.0);
Tailwind
colors: {
  custom: {
    50: '#5c8663',
    500: '#125629',
    950: '#000000',
  },
}
SCSS
$custom: #125629;
$custom-light: #5c8663;
$custom-dark: #000000;
JSON
{
  "hex": "#125629",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 41
  },
  "hsl": {
    "h": 140.294,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.09912,
    "h": 150
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#125629
secondary
#8F3570
accent
#3FAFE8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125629

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

Preview Lab → · Contrast checker → · Palette generator →

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