#125929#125929

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

Color values

HEX#125929
RGBrgb(18, 89, 41)
HSLhsl(139, 66%, 21%)
HSVhsv(139, 80%, 35%)
CMYKcmyk(79.8%, 0%, 53.9%, 65.1%)
CIE-LABlab(32.77, -33.16, 21.67)
CIE-LCHlch(32.77, 39.61, 146.83°)
OKLaboklab(40.93% -0.0891 0.0526)
OKLCHoklch(40.93% 0.104 149.5)
XYZxyz(4.2217, 7.4330, 3.3096)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125929 #591242
analogous
#1E5912 #125929 #12594C
triadic
#125929 #291259 #592912
tetradic
#125929 #121E59 #591242 #594C12
square
#125929 #121E59 #591242 #594C12
split-complementary
#125929 #4C1259 #59121E
monochromatic
#05190C #082612 #125929 #1C8C40 #27BF58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125929#FFFFFF#000000##FFFFFF
##1259291.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)
#5A5125
Deuteranopia (green-blind)
#514B2C
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125929;
/* rgb */ color: rgb(18, 89, 41);
/* oklch */ color: oklch(40.9% 0.104 149.5);
Tailwind
colors: {
  custom: {
    50: '#5d8964',
    500: '#125929',
    950: '#000000',
  },
}
SCSS
$custom: #125929;
$custom-light: #5d8964;
$custom-dark: #000000;
JSON
{
  "hex": "#125929",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 41
  },
  "hsl": {
    "h": 139.437,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.10351,
    "h": 149.5
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#125929
secondary
#923574
accent
#3FB2E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #125929

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

Preview Lab → · Contrast checker → · Palette generator →

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