#125D2D#125D2D

#125D2D is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.105 H 150.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#125D2D
RGBrgb(18, 93, 45)
HSLhsl(142, 68%, 22%)
HSVhsv(142, 81%, 36%)
CMYKcmyk(80.6%, 0%, 51.6%, 63.5%)
CIE-LABlab(34.29, -34.05, 21.28)
CIE-LCHlch(34.29, 40.15, 147.99°)
OKLaboklab(42.2% -0.0915 0.0519)
OKLCHoklch(42.2% 0.105 150.4)
XYZxyz(4.6371, 8.1462, 3.8101)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D2D #5D1242
analogous
#1D5D12 #125D2D #125D53
triadic
#125D2D #2D125D #5D2D12
tetradic
#125D2D #121D5D #5D1242 #5D5312
square
#125D2D #121D5D #5D1242 #5D5312
split-complementary
#125D2D #53125D #5D121D
monochromatic
#051A0C #082A14 #125D2D #1C9046 #26C45F

Accessibility & contrast

On white

7.99
#125D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125D2D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D2D#FFFFFF#000000##FFFFFF
##125D2D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125d2d;
/* rgb */ color: rgb(18, 93, 45);
/* oklch */ color: oklch(42.2% 0.105 150.4);
Tailwind
colors: {
  custom: {
    50: '#5d8c67',
    500: '#125d2d',
    950: '#000000',
  },
}
SCSS
$custom: #125d2d;
$custom-light: #5d8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#125d2d",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 45
  },
  "hsl": {
    "h": 141.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42203,
    "c": 0.10522,
    "h": 150.4
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#125D2D
secondary
#953573
accent
#3DACEA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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