#125F29#125F29

#125F29 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.112 H 148.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#125F29
RGBrgb(18, 95, 41)
HSLhsl(138, 68%, 22%)
HSVhsv(138, 81%, 37%)
CMYKcmyk(81.1%, 0%, 56.8%, 62.7%)
CIE-LABlab(34.95, -35.54, 24.35)
CIE-LCHlch(34.95, 43.09, 145.58°)
OKLaboklab(42.73% -0.0955 0.0586)
OKLCHoklch(42.73% 0.112 148.5)
XYZxyz(4.7415, 8.4726, 3.4829)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F29 #5F1248
analogous
#225F12 #125F29 #125F50
triadic
#125F29 #29125F #5F2912
tetradic
#125F29 #12225F #5F1248 #5F5012
square
#125F29 #12225F #5F1248 #5F5012
split-complementary
#125F29 #50125F #5F1222
monochromatic
#051A0B #082C13 #125F29 #1C923F #25C655

Accessibility & contrast

On white

7.79
#125F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#125F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F29
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F29#FFFFFF#000000##FFFFFF
##125F291.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605624
Deuteranopia (green-blind)
#57502D
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f29;
/* rgb */ color: rgb(18, 95, 41);
/* oklch */ color: oklch(42.7% 0.112 148.5);
Tailwind
colors: {
  custom: {
    50: '#5e8d64',
    500: '#125f29',
    950: '#000000',
  },
}
SCSS
$custom: #125f29;
$custom-light: #5e8d64;
$custom-dark: #000000;
JSON
{
  "hex": "#125f29",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 41
  },
  "hsl": {
    "h": 137.922,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42732,
    "c": 0.11208,
    "h": 148.5
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#125F29
secondary
#97367A
accent
#3DB7EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125F29

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

Preview Lab → · Contrast checker → · Palette generator →

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