#125428#125428

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

Color values

HEX#125428
RGBrgb(18, 84, 40)
HSLhsl(140, 65%, 20%)
HSVhsv(140, 79%, 33%)
CMYKcmyk(78.6%, 0%, 52.4%, 67.1%)
CIE-LABlab(30.93, -31.28, 19.94)
CIE-LCHlch(30.93, 37.10, 147.48°)
OKLaboklab(39.4% -0.0842 0.0486)
OKLCHoklch(39.4% 0.097 150)
XYZxyz(3.8025, 6.6220, 3.0848)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125428 #54123E
analogous
#1D5412 #125428 #125449
triadic
#125428 #281254 #542812
tetradic
#125428 #121D54 #54123E #544912
square
#125428 #121D54 #54123E #544912
split-complementary
#125428 #491254 #54121D
monochromatic
#05190C #072210 #125428 #1D8640 #28B958

Accessibility & contrast

On white

9.03
#125428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125428
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125428#FFFFFF#000000##FFFFFF
##1254281.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C24
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#00524A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125428;
/* rgb */ color: rgb(18, 84, 40);
/* oklch */ color: oklch(39.4% 0.097 150.0);
Tailwind
colors: {
  custom: {
    50: '#5b8563',
    500: '#125428',
    950: '#000000',
  },
}
SCSS
$custom: #125428;
$custom-light: #5b8563;
$custom-dark: #000000;
JSON
{
  "hex": "#125428",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 40
  },
  "hsl": {
    "h": 140,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39403,
    "c": 0.09719,
    "h": 150
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#125428
secondary
#8D3570
accent
#40B0E8
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #125428

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

Preview Lab → · Contrast checker → · Palette generator →

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