#125418#125418

#125418 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.112 H 144.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#125418
RGBrgb(18, 84, 24)
HSLhsl(125, 65%, 20%)
HSVhsv(125, 79%, 33%)
CMYKcmyk(78.6%, 0%, 71.4%, 67.1%)
CIE-LABlab(30.72, -33.72, 28.35)
CIE-LCHlch(30.72, 44.06, 139.94°)
OKLaboklab(39.17% -0.0912 0.0657)
OKLCHoklch(39.17% 0.112 144.3)
XYZxyz(3.5844, 6.5348, 1.9364)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125418 #54124E
analogous
#2D5412 #125418 #125439
triadic
#125418 #181254 #541812
tetradic
#125418 #122D54 #54124E #543912
square
#125418 #122D54 #54124E #543912
split-complementary
#125418 #391254 #54122D
monochromatic
#051907 #07220A #125418 #1D8626 #28B935

Accessibility & contrast

On white

9.10
#125418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#125418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125418
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125418#FFFFFF#000000##FFFFFF
##1254181.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B10
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125418;
/* rgb */ color: rgb(18, 84, 24);
/* oklch */ color: oklch(39.2% 0.112 144.3);
Tailwind
colors: {
  custom: {
    50: '#5c8558',
    500: '#125418',
    950: '#000000',
  },
}
SCSS
$custom: #125418;
$custom-light: #5c8558;
$custom-dark: #000000;
JSON
{
  "hex": "#125418",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 24
  },
  "hsl": {
    "h": 125.455,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39165,
    "c": 0.11239,
    "h": 144.3
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#125418
secondary
#8D3585
accent
#40D8E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125418

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

Preview Lab → · Contrast checker → · Palette generator →

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