#125027#125027

#125027 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.092 H 150.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#125027
RGBrgb(18, 80, 39)
HSLhsl(140, 63%, 19%)
HSVhsv(140, 78%, 31%)
CMYKcmyk(77.5%, 0%, 51.2%, 68.6%)
CIE-LABlab(29.44, -29.78, 18.65)
CIE-LCHlch(29.44, 35.14, 147.94°)
OKLaboklab(38.17% -0.0802 0.0456)
OKLCHoklch(38.17% 0.092 150.4)
XYZxyz(3.4840, 6.0120, 2.8959)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125027 #50123B
analogous
#1C5012 #125027 #125046
triadic
#125027 #271250 #502712
tetradic
#125027 #121C50 #50123B #504612
square
#125027 #121C50 #50123B #504612
split-complementary
#125027 #461250 #50121C
monochromatic
#06190C #071E0F #125027 #1D823F #28B458

Accessibility & contrast

On white

9.54
#125027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#125027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125027
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125027#FFFFFF#000000##FFFFFF
##1250271.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504924
Deuteranopia (green-blind)
#49432A
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #125027;
/* rgb */ color: rgb(18, 80, 39);
/* oklch */ color: oklch(38.2% 0.092 150.4);
Tailwind
colors: {
  custom: {
    50: '#5a8262',
    500: '#125027',
    950: '#000000',
  },
}
SCSS
$custom: #125027;
$custom-light: #5a8262;
$custom-dark: #000000;
JSON
{
  "hex": "#125027",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 39
  },
  "hsl": {
    "h": 140.323,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38169,
    "c": 0.09225,
    "h": 150.4
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#125027
secondary
#89356C
accent
#41AEE6
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #125027

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

Preview Lab → · Contrast checker → · Palette generator →

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