#125D2E#125D2E

#125D2E is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.2% C 0.104 H 150.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#125D2E
RGBrgb(18, 93, 46)
HSLhsl(142, 68%, 22%)
HSVhsv(142, 81%, 36%)
CMYKcmyk(80.6%, 0%, 50.5%, 63.5%)
CIE-LABlab(34.30, -33.86, 20.73)
CIE-LCHlch(34.30, 39.70, 148.53°)
OKLaboklab(42.22% -0.091 0.0507)
OKLCHoklch(42.22% 0.104 150.9)
XYZxyz(4.6565, 8.1540, 3.9127)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D2E #5D1241
analogous
#1C5D12 #125D2E #125D54
triadic
#125D2E #2E125D #5D2E12
tetradic
#125D2E #121C5D #5D1241 #5D5412
square
#125D2E #121C5D #5D1241 #5D5412
split-complementary
#125D2E #54125D #5D121C
monochromatic
#051A0D #082A15 #125D2E #1C9047 #26C461

Accessibility & contrast

On white

7.98
#125D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#125D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D2E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D2E#FFFFFF#000000##FFFFFF
##125D2E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D542A
Deuteranopia (green-blind)
#554E31
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125d2e;
/* rgb */ color: rgb(18, 93, 46);
/* oklch */ color: oklch(42.2% 0.104 150.9);
Tailwind
colors: {
  custom: {
    50: '#5d8c67',
    500: '#125d2e',
    950: '#000000',
  },
}
SCSS
$custom: #125d2e;
$custom-light: #5d8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#125d2e",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 46
  },
  "hsl": {
    "h": 142.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.1042,
    "h": 150.9
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#125D2E
secondary
#953572
accent
#3DAAEA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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