#125728#125728

#125728 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.102 H 149.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#125728
RGBrgb(18, 87, 40)
HSLhsl(139, 66%, 21%)
HSVhsv(139, 79%, 34%)
CMYKcmyk(79.3%, 0%, 54%, 65.9%)
CIE-LABlab(32.03, -32.52, 21.32)
CIE-LCHlch(32.03, 38.88, 146.75°)
OKLaboklab(40.31% -0.0875 0.0517)
OKLCHoklch(40.31% 0.102 149.4)
XYZxyz(4.0403, 7.0977, 3.1641)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125728 #571241
analogous
#1F5712 #125728 #12574A
triadic
#125728 #281257 #572812
tetradic
#125728 #121F57 #571241 #574A12
square
#125728 #121F57 #571241 #574A12
split-complementary
#125728 #4A1257 #57121F
monochromatic
#05190C #082411 #125728 #1C8A3F #27BC57

Accessibility & contrast

On white

8.68
#125728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#125728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125728
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125728#FFFFFF#000000##FFFFFF
##1257281.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F24
Deuteranopia (green-blind)
#50492B
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #125728;
/* rgb */ color: rgb(18, 87, 40);
/* oklch */ color: oklch(40.3% 0.102 149.4);
Tailwind
colors: {
  custom: {
    50: '#5c8763',
    500: '#125728',
    950: '#000000',
  },
}
SCSS
$custom: #125728;
$custom-light: #5c8763;
$custom-dark: #000000;
JSON
{
  "hex": "#125728",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 40
  },
  "hsl": {
    "h": 139.13,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40311,
    "c": 0.10161,
    "h": 149.4
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#125728
secondary
#903573
accent
#3FB3E9
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #125728

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

Preview Lab → · Contrast checker → · Palette generator →

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