#125D29#125D29

#125D29 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.109 H 148.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#125D29
RGBrgb(18, 93, 41)
HSLhsl(138, 68%, 22%)
HSVhsv(138, 81%, 36%)
CMYKcmyk(80.6%, 0%, 55.9%, 63.5%)
CIE-LABlab(34.23, -34.76, 23.47)
CIE-LCHlch(34.23, 41.94, 145.97°)
OKLaboklab(42.13% -0.0934 0.0566)
OKLCHoklch(42.13% 0.109 148.8)
XYZxyz(4.5637, 8.1169, 3.4236)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D29 #5D1246
analogous
#215D12 #125D29 #125D4F
triadic
#125D29 #29125D #5D2912
tetradic
#125D29 #12215D #5D1246 #5D4F12
square
#125D29 #12215D #5D1246 #5D4F12
split-complementary
#125D29 #4F125D #5D1221
monochromatic
#051A0B #082A12 #125D29 #1C9040 #26C456

Accessibility & contrast

On white

8.00
#125D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#125D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D29
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D29#FFFFFF#000000##FFFFFF
##125D291.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5424
Deuteranopia (green-blind)
#554E2D
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d29;
/* rgb */ color: rgb(18, 93, 41);
/* oklch */ color: oklch(42.1% 0.109 148.8);
Tailwind
colors: {
  custom: {
    50: '#5e8c64',
    500: '#125d29',
    950: '#000000',
  },
}
SCSS
$custom: #125d29;
$custom-light: #5e8c64;
$custom-dark: #000000;
JSON
{
  "hex": "#125d29",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 41
  },
  "hsl": {
    "h": 138.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.10925,
    "h": 148.8
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#125D29
secondary
#953578
accent
#3DB5EA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125D29

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

Preview Lab → · Contrast checker → · Palette generator →

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