#125928#125928

#125928 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.105 H 149.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#125928
RGBrgb(18, 89, 40)
HSLhsl(139, 66%, 21%)
HSVhsv(139, 80%, 35%)
CMYKcmyk(79.8%, 0%, 55.1%, 65.1%)
CIE-LABlab(32.76, -33.33, 22.22)
CIE-LCHlch(32.76, 40.06, 146.31°)
OKLaboklab(40.91% -0.0896 0.0538)
OKLCHoklch(40.91% 0.105 149)
XYZxyz(4.2045, 7.4261, 3.2189)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125928 #591243
analogous
#1F5912 #125928 #12594B
triadic
#125928 #281259 #592812
tetradic
#125928 #121F59 #591243 #594B12
square
#125928 #121F59 #591243 #594B12
split-complementary
#125928 #4B1259 #59121F
monochromatic
#05190B #082611 #125928 #1C8C3F #27BF56

Accessibility & contrast

On white

8.45
#125928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#125928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125928
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125928#FFFFFF#000000##FFFFFF
##1259281.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5124
Deuteranopia (green-blind)
#524B2C
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125928;
/* rgb */ color: rgb(18, 89, 40);
/* oklch */ color: oklch(40.9% 0.105 149.0);
Tailwind
colors: {
  custom: {
    50: '#5d8963',
    500: '#125928',
    950: '#000000',
  },
}
SCSS
$custom: #125928;
$custom-light: #5d8963;
$custom-dark: #000000;
JSON
{
  "hex": "#125928",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 40
  },
  "hsl": {
    "h": 138.592,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40914,
    "c": 0.10452,
    "h": 149
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#125928
secondary
#923575
accent
#3FB4E9
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #125928

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

Preview Lab → · Contrast checker → · Palette generator →

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