#125E29#125E29

#125E29 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.111 H 148.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#125E29
RGBrgb(18, 94, 41)
HSLhsl(138, 68%, 22%)
HSVhsv(138, 81%, 37%)
CMYKcmyk(80.9%, 0%, 56.4%, 63.1%)
CIE-LABlab(34.59, -35.15, 23.91)
CIE-LCHlch(34.59, 42.51, 145.77°)
OKLaboklab(42.43% -0.0945 0.0576)
OKLCHoklch(42.43% 0.111 148.6)
XYZxyz(4.6520, 8.2936, 3.4530)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E29 #5E1247
analogous
#215E12 #125E29 #125E4F
triadic
#125E29 #29125E #5E2912
tetradic
#125E29 #12215E #5E1247 #5E4F12
square
#125E29 #12215E #5E1247 #5E4F12
split-complementary
#125E29 #4F125E #5E1221
monochromatic
#051A0B #082B13 #125E29 #1C913F #26C556

Accessibility & contrast

On white

7.90
#125E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#125E29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125E29
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E29#FFFFFF#000000##FFFFFF
##125E291.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5524
Deuteranopia (green-blind)
#564F2D
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125e29;
/* rgb */ color: rgb(18, 94, 41);
/* oklch */ color: oklch(42.4% 0.111 148.6);
Tailwind
colors: {
  custom: {
    50: '#5e8c64',
    500: '#125e29',
    950: '#000000',
  },
}
SCSS
$custom: #125e29;
$custom-light: #5e8c64;
$custom-dark: #000000;
JSON
{
  "hex": "#125e29",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 41
  },
  "hsl": {
    "h": 138.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42433,
    "c": 0.11067,
    "h": 148.6
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#125E29
secondary
#963579
accent
#3DB6EB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125E29

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

Preview Lab → · Contrast checker → · Palette generator →

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