#125627#125627

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

Color values

HEX#125627
RGBrgb(18, 86, 39)
HSLhsl(139, 65%, 20%)
HSVhsv(139, 79%, 34%)
CMYKcmyk(79.1%, 0%, 54.7%, 66.3%)
CIE-LABlab(31.65, -32.29, 21.42)
CIE-LCHlch(31.65, 38.75, 146.44°)
OKLaboklab(39.99% -0.0868 0.0519)
OKLCHoklch(39.99% 0.101 149.1)
XYZxyz(3.9431, 6.9302, 3.0489)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125627 #561241
analogous
#1F5612 #125627 #125649
triadic
#125627 #271256 #562712
tetradic
#125627 #121F56 #561241 #564912
square
#125627 #121F56 #561241 #564912
split-complementary
#125627 #491256 #56121F
monochromatic
#05190B #072310 #125627 #1D893E #27BB55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125627#FFFFFF#000000##FFFFFF
##1256271.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)
#574E23
Deuteranopia (green-blind)
#4F482A
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #125627;
/* rgb */ color: rgb(18, 86, 39);
/* oklch */ color: oklch(40.0% 0.101 149.1);
Tailwind
colors: {
  custom: {
    50: '#5c8662',
    500: '#125627',
    950: '#000000',
  },
}
SCSS
$custom: #125627;
$custom-light: #5c8662;
$custom-dark: #000000;
JSON
{
  "hex": "#125627",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 39
  },
  "hsl": {
    "h": 138.529,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.10118,
    "h": 149.1
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#125627
secondary
#8F3573
accent
#3FB4E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125627

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

Preview Lab → · Contrast checker → · Palette generator →

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