#125028#125028

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

Color values

HEX#125028
RGBrgb(18, 80, 40)
HSLhsl(141, 63%, 19%)
HSVhsv(141, 78%, 31%)
CMYKcmyk(77.5%, 0%, 50%, 68.6%)
CIE-LABlab(29.46, -29.59, 18.08)
CIE-LCHlch(29.46, 34.67, 148.58°)
OKLaboklab(38.19% -0.0797 0.0444)
OKLCHoklch(38.19% 0.091 150.9)
XYZxyz(3.5008, 6.0187, 2.9843)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125028 #50123A
analogous
#1B5012 #125028 #125047
triadic
#125028 #281250 #502812
tetradic
#125028 #121B50 #50123A #504712
square
#125028 #121B50 #50123A #504712
split-complementary
#125028 #471250 #50121B
monochromatic
#06190C #071E0F #125028 #1D8241 #28B45A

Accessibility & contrast

On white

9.53
#125028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125028
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125028#FFFFFF#000000##FFFFFF
##1250281.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125028;
/* rgb */ color: rgb(18, 80, 40);
/* oklch */ color: oklch(38.2% 0.091 150.9);
Tailwind
colors: {
  custom: {
    50: '#5a8262',
    500: '#125028',
    950: '#000000',
  },
}
SCSS
$custom: #125028;
$custom-light: #5a8262;
$custom-dark: #000000;
JSON
{
  "hex": "#125028",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 40
  },
  "hsl": {
    "h": 141.29,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38188,
    "c": 0.09118,
    "h": 150.9
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#125028
secondary
#89356B
accent
#41ACE6
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #125028

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

Preview Lab → · Contrast checker → · Palette generator →

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