#125427#125427

#125427 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.098 H 149.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#125427
RGBrgb(18, 84, 39)
HSLhsl(139, 65%, 20%)
HSVhsv(139, 79%, 33%)
CMYKcmyk(78.6%, 0%, 53.6%, 67.1%)
CIE-LABlab(30.91, -31.46, 20.50)
CIE-LCHlch(30.91, 37.56, 146.91°)
OKLaboklab(39.39% -0.0846 0.0498)
OKLCHoklch(39.39% 0.098 149.5)
XYZxyz(3.7857, 6.6153, 2.9964)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125427 #54123F
analogous
#1E5412 #125427 #125448
triadic
#125427 #271254 #542712
tetradic
#125427 #121E54 #54123F #544812
square
#125427 #121E54 #54123F #544812
split-complementary
#125427 #481254 #54121E
monochromatic
#05190C #072210 #125427 #1D863E #28B956

Accessibility & contrast

On white

9.04
#125427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#125427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125427
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125427#FFFFFF#000000##FFFFFF
##1254271.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C23
Deuteranopia (green-blind)
#4D472A
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125427;
/* rgb */ color: rgb(18, 84, 39);
/* oklch */ color: oklch(39.4% 0.098 149.5);
Tailwind
colors: {
  custom: {
    50: '#5b8562',
    500: '#125427',
    950: '#000000',
  },
}
SCSS
$custom: #125427;
$custom-light: #5b8562;
$custom-dark: #000000;
JSON
{
  "hex": "#125427",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 39
  },
  "hsl": {
    "h": 139.091,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39385,
    "c": 0.09823,
    "h": 149.5
  },
  "luminance": 0.06616
}

Semantic roles & 50–950 ramp

primary
#125427
secondary
#8D3571
accent
#40B2E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125427

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

Preview Lab → · Contrast checker → · Palette generator →

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