#125F2D#125F2D

#125F2D is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.108 H 150.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#125F2D
RGBrgb(18, 95, 45)
HSLhsl(141, 68%, 22%)
HSVhsv(141, 81%, 37%)
CMYKcmyk(81.1%, 0%, 52.6%, 62.7%)
CIE-LABlab(35.01, -34.85, 22.19)
CIE-LCHlch(35.01, 41.32, 147.52°)
OKLaboklab(42.8% -0.0937 0.054)
OKLCHoklch(42.8% 0.108 150)
XYZxyz(4.8149, 8.5019, 3.8694)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F2D #5F1244
analogous
#1D5F12 #125F2D #125F54
triadic
#125F2D #2D125F #5F2D12
tetradic
#125F2D #121D5F #5F1244 #5F5412
square
#125F2D #121D5F #5F1244 #5F5412
split-complementary
#125F2D #54125F #5F121D
monochromatic
#051A0C #082C15 #125F2D #1C9245 #25C65E

Accessibility & contrast

On white

7.78
#125F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#125F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F2D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F2D#FFFFFF#000000##FFFFFF
##125F2D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605629
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f2d;
/* rgb */ color: rgb(18, 95, 45);
/* oklch */ color: oklch(42.8% 0.108 150.0);
Tailwind
colors: {
  custom: {
    50: '#5e8d67',
    500: '#125f2d',
    950: '#000000',
  },
}
SCSS
$custom: #125f2d;
$custom-light: #5e8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#125f2d",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 141.039,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.428,
    "c": 0.1081,
    "h": 150
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#125F2D
secondary
#973675
accent
#3DAEEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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