#125424#125424

#125424 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.101 H 148.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#125424
RGBrgb(18, 84, 36)
HSLhsl(136, 65%, 20%)
HSVhsv(136, 79%, 33%)
CMYKcmyk(78.6%, 0%, 57.1%, 67.1%)
CIE-LABlab(30.87, -31.99, 22.17)
CIE-LCHlch(30.87, 38.92, 145.28°)
OKLaboklab(39.33% -0.0861 0.0534)
OKLCHoklch(39.33% 0.101 148.2)
XYZxyz(3.7379, 6.5962, 2.7449)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125424 #541242
analogous
#215412 #125424 #125445
triadic
#125424 #241254 #542412
tetradic
#125424 #122154 #541242 #544512
square
#125424 #122154 #541242 #544512
split-complementary
#125424 #451254 #541221
monochromatic
#05190B #07220E #125424 #1D863A #28B94F

Accessibility & contrast

On white

9.05
#125424 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#125424 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125424
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125424#FFFFFF#000000##FFFFFF
##1254241.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C20
Deuteranopia (green-blind)
#4D4728
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125424;
/* rgb */ color: rgb(18, 84, 36);
/* oklch */ color: oklch(39.3% 0.101 148.2);
Tailwind
colors: {
  custom: {
    50: '#5b8560',
    500: '#125424',
    950: '#000000',
  },
}
SCSS
$custom: #125424;
$custom-light: #5b8560;
$custom-dark: #000000;
JSON
{
  "hex": "#125424",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 36
  },
  "hsl": {
    "h": 136.364,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39333,
    "c": 0.1013,
    "h": 148.2
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#125424
secondary
#8D3575
accent
#40BAE8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #125424

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

Preview Lab → · Contrast checker → · Palette generator →

#125424 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva