#125E2D#125E2D

#125E2D is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.107 H 150.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#125E2D
RGBrgb(18, 94, 45)
HSLhsl(141, 68%, 22%)
HSVhsv(141, 81%, 37%)
CMYKcmyk(80.9%, 0%, 52.1%, 63.1%)
CIE-LABlab(34.65, -34.45, 21.74)
CIE-LCHlch(34.65, 40.74, 147.75°)
OKLaboklab(42.5% -0.0926 0.0529)
OKLCHoklch(42.5% 0.107 150.2)
XYZxyz(4.7254, 8.3229, 3.8396)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125E2D #5E1243
analogous
#1D5E12 #125E2D #125E53
triadic
#125E2D #2D125E #5E2D12
tetradic
#125E2D #121D5E #5E1243 #5E5312
square
#125E2D #121D5E #5E1243 #5E5312
split-complementary
#125E2D #53125E #5E121D
monochromatic
#051A0C #082B14 #125E2D #1C9146 #26C55E

Accessibility & contrast

On white

7.88
#125E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125E2D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125E2D#FFFFFF#000000##FFFFFF
##125E2D1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125e2d;
/* rgb */ color: rgb(18, 94, 45);
/* oklch */ color: oklch(42.5% 0.107 150.2);
Tailwind
colors: {
  custom: {
    50: '#5e8c67',
    500: '#125e2d',
    950: '#000000',
  },
}
SCSS
$custom: #125e2d;
$custom-light: #5e8c67;
$custom-dark: #000000;
JSON
{
  "hex": "#125e2d",
  "rgb": {
    "r": 18,
    "g": 94,
    "b": 45
  },
  "hsl": {
    "h": 141.316,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.10666,
    "h": 150.2
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#125E2D
secondary
#963574
accent
#3DADEB
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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