#125C29#125C29

#125C29 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.108 H 148.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#125C29
RGBrgb(18, 92, 41)
HSLhsl(139, 67%, 22%)
HSVhsv(139, 80%, 36%)
CMYKcmyk(80.4%, 0%, 55.4%, 63.9%)
CIE-LABlab(33.86, -34.36, 23.02)
CIE-LCHlch(33.86, 41.36, 146.17°)
OKLaboklab(41.83% -0.0924 0.0556)
OKLCHoklch(41.83% 0.108 148.9)
XYZxyz(4.4765, 7.9425, 3.3945)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C29 #5C1245
analogous
#205C12 #125C29 #125C4E
triadic
#125C29 #29125C #5C2912
tetradic
#125C29 #12205C #5C1245 #5C4E12
square
#125C29 #12205C #5C1245 #5C4E12
split-complementary
#125C29 #4E125C #5C1220
monochromatic
#051A0B #082912 #125C29 #1C8F40 #26C257

Accessibility & contrast

On white

8.11
#125C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#125C29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C29
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C29#FFFFFF#000000##FFFFFF
##125C291.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5325
Deuteranopia (green-blind)
#544D2D
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125c29;
/* rgb */ color: rgb(18, 92, 41);
/* oklch */ color: oklch(41.8% 0.108 148.9);
Tailwind
colors: {
  custom: {
    50: '#5d8b64',
    500: '#125c29',
    950: '#000000',
  },
}
SCSS
$custom: #125c29;
$custom-light: #5d8b64;
$custom-dark: #000000;
JSON
{
  "hex": "#125c29",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 41
  },
  "hsl": {
    "h": 138.649,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.10783,
    "h": 148.9
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#125C29
secondary
#943577
accent
#3EB5EA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125C29

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

Preview Lab → · Contrast checker → · Palette generator →

#125C29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva