#125D28#125D28

#125D28 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.110 H 148.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#125D28
RGBrgb(18, 93, 40)
HSLhsl(138, 68%, 22%)
HSVhsv(138, 81%, 36%)
CMYKcmyk(80.6%, 0%, 57%, 63.5%)
CIE-LABlab(34.21, -34.93, 24.01)
CIE-LCHlch(34.21, 42.38, 145.49°)
OKLaboklab(42.12% -0.0939 0.0577)
OKLCHoklch(42.12% 0.11 148.4)
XYZxyz(4.5464, 8.1100, 3.3328)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125D28 #5D1247
analogous
#225D12 #125D28 #125D4E
triadic
#125D28 #28125D #5D2812
tetradic
#125D28 #12225D #5D1247 #5D4E12
square
#125D28 #12225D #5D1247 #5D4E12
split-complementary
#125D28 #4E125D #5D1222
monochromatic
#051A0B #082A12 #125D28 #1C903E #26C454

Accessibility & contrast

On white

8.01
#125D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#125D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125D28
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125D28#FFFFFF#000000##FFFFFF
##125D281.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#554E2C
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125d28;
/* rgb */ color: rgb(18, 93, 40);
/* oklch */ color: oklch(42.1% 0.110 148.4);
Tailwind
colors: {
  custom: {
    50: '#5e8c63',
    500: '#125d28',
    950: '#000000',
  },
}
SCSS
$custom: #125d28;
$custom-light: #5e8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#125d28",
  "rgb": {
    "r": 18,
    "g": 93,
    "b": 40
  },
  "hsl": {
    "h": 137.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.11024,
    "h": 148.4
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#125D28
secondary
#953579
accent
#3DB8EA
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #125D28

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

Preview Lab → · Contrast checker → · Palette generator →

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