#125B29#125B29

#125B29 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.106 H 149.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#125B29
RGBrgb(18, 91, 41)
HSLhsl(139, 67%, 21%)
HSVhsv(139, 80%, 36%)
CMYKcmyk(80.2%, 0%, 54.9%, 64.3%)
CIE-LABlab(33.50, -33.96, 22.58)
CIE-LCHlch(33.50, 40.78, 146.38°)
OKLaboklab(41.53% -0.0913 0.0546)
OKLCHoklch(41.53% 0.106 149.1)
XYZxyz(4.3904, 7.7704, 3.3658)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B29 #5B1244
analogous
#205B12 #125B29 #125B4E
triadic
#125B29 #29125B #5B2912
tetradic
#125B29 #12205B #5B1244 #5B4E12
square
#125B29 #12205B #5B1244 #5B4E12
split-complementary
#125B29 #4E125B #5B1220
monochromatic
#051A0C #082812 #125B29 #1C8E40 #26C157

Accessibility & contrast

On white

8.22
#125B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#125B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B29
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B29#FFFFFF#000000##FFFFFF
##125B291.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5225
Deuteranopia (green-blind)
#534C2D
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b29;
/* rgb */ color: rgb(18, 91, 41);
/* oklch */ color: oklch(41.5% 0.106 149.1);
Tailwind
colors: {
  custom: {
    50: '#5d8a64',
    500: '#125b29',
    950: '#000000',
  },
}
SCSS
$custom: #125b29;
$custom-light: #5d8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#125b29",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 41
  },
  "hsl": {
    "h": 138.904,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.10639,
    "h": 149.1
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#125B29
secondary
#933576
accent
#3EB4EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125B29

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

Preview Lab → · Contrast checker → · Palette generator →

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