#125318#125318

#125318 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.111 H 144.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#125318
RGBrgb(18, 83, 24)
HSLhsl(126, 64%, 20%)
HSVhsv(126, 78%, 33%)
CMYKcmyk(78.3%, 0%, 71.1%, 67.5%)
CIE-LABlab(30.35, -33.34, 27.95)
CIE-LCHlch(30.35, 43.50, 140.03°)
OKLaboklab(38.86% -0.0902 0.0648)
OKLCHoklch(38.86% 0.111 144.3)
XYZxyz(3.5074, 6.3807, 1.9107)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125318 #53124D
analogous
#2D5312 #125318 #125338
triadic
#125318 #181253 #531812
tetradic
#125318 #122D53 #53124D #533812
square
#125318 #122D53 #53124D #533812
split-complementary
#125318 #381253 #53122D
monochromatic
#051907 #072109 #125318 #1D8527 #28B835

Accessibility & contrast

On white

9.23
#125318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#125318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125318
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125318#FFFFFF#000000##FFFFFF
##1253181.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#4D451D
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125318;
/* rgb */ color: rgb(18, 83, 24);
/* oklch */ color: oklch(38.9% 0.111 144.3);
Tailwind
colors: {
  custom: {
    50: '#5c8458',
    500: '#125318',
    950: '#000000',
  },
}
SCSS
$custom: #125318;
$custom-light: #5c8458;
$custom-dark: #000000;
JSON
{
  "hex": "#125318",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 125.538,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.11104,
    "h": 144.3
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#125318
secondary
#8C3584
accent
#40D8E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #125318

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

Preview Lab → · Contrast checker → · Palette generator →

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