#125D2F#125D2F

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

Color values

HEX#125D2F
RGBrgb(18, 93, 47)
HSLhsl(143, 68%, 22%)
HSVhsv(143, 81%, 36%)
CMYKcmyk(80.6%, 0%, 49.5%, 63.5%)
CIE-LABlab(34.32, -33.67, 20.17)
CIE-LCHlch(34.32, 39.25, 149.08°)
OKLaboklab(42.24% -0.0905 0.0495)
OKLCHoklch(42.24% 0.103 151.4)
XYZxyz(4.6765, 8.1620, 4.0177)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D2F #5D1240
analogous
#1B5D12 #125D2F #125D55
triadic
#125D2F #2F125D #5D2F12
tetradic
#125D2F #121B5D #5D1240 #5D5512
square
#125D2F #121B5D #5D1240 #5D5512
split-complementary
#125D2F #55125D #5D121B
monochromatic
#051A0D #082A15 #125D2F #1C9049 #26C463

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125D2F#FFFFFF#000000##FFFFFF
##125D2F1.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)
#5D542B
Deuteranopia (green-blind)
#554E32
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #125d2f;
/* rgb */ color: rgb(18, 93, 47);
/* oklch */ color: oklch(42.2% 0.103 151.4);
Tailwind
colors: {
  custom: {
    50: '#5d8c68',
    500: '#125d2f',
    950: '#000000',
  },
}
SCSS
$custom: #125d2f;
$custom-light: #5d8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#125d2f",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 47
  },
  "hsl": {
    "h": 143.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4224,
    "c": 0.10317,
    "h": 151.4
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#125D2F
secondary
#953570
accent
#3DA8EA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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