#125A24#125A24

#125A24 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.110 H 147.4°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#125A24
RGBrgb(18, 90, 36)
HSLhsl(135, 67%, 21%)
HSVhsv(135, 80%, 35%)
CMYKcmyk(80%, 0%, 60%, 64.7%)
CIE-LABlab(33.07, -34.39, 24.82)
CIE-LCHlch(33.07, 42.41, 144.18°)
OKLaboklab(41.15% -0.0926 0.0593)
OKLCHoklch(41.15% 0.11 147.4)
XYZxyz(4.2237, 7.5678, 2.9069)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A24 #5A1248
analogous
#245A12 #125A24 #125A48
triadic
#125A24 #24125A #5A2412
tetradic
#125A24 #12245A #5A1248 #5A4812
square
#125A24 #12245A #5A1248 #5A4812
split-complementary
#125A24 #48125A #5A1224
monochromatic
#051A0A #082710 #125A24 #1C8D38 #26C04D

Accessibility & contrast

On white

8.35
#125A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#125A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A24
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A24#FFFFFF#000000##FFFFFF
##125A241.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511F
Deuteranopia (green-blind)
#534B28
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a24;
/* rgb */ color: rgb(18, 90, 36);
/* oklch */ color: oklch(41.2% 0.110 147.4);
Tailwind
colors: {
  custom: {
    50: '#5d8960',
    500: '#125a24',
    950: '#000000',
  },
}
SCSS
$custom: #125a24;
$custom-light: #5d8960;
$custom-dark: #000000;
JSON
{
  "hex": "#125a24",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 36
  },
  "hsl": {
    "h": 135,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.1099,
    "h": 147.4
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#125A24
secondary
#93357B
accent
#3EBFEA
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125A24

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

Preview Lab → · Contrast checker → · Palette generator →

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