#125518#125518

#125518 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.114 H 144.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#125518
RGBrgb(18, 85, 24)
HSLhsl(125, 65%, 20%)
HSVhsv(125, 79%, 33%)
CMYKcmyk(78.8%, 0%, 71.8%, 66.7%)
CIE-LABlab(31.09, -34.10, 28.76)
CIE-LCHlch(31.09, 44.61, 139.86°)
OKLaboklab(39.47% -0.0923 0.0665)
OKLCHoklch(39.47% 0.114 144.2)
XYZxyz(3.6626, 6.6911, 1.9625)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125518 #55124F
analogous
#2D5512 #125518 #125539
triadic
#125518 #181255 #551812
tetradic
#125518 #122D55 #55124F #553912
square
#125518 #122D55 #55124F #553912
split-complementary
#125518 #391255 #55122D
monochromatic
#051907 #07220A #125518 #1D8826 #27BA35

Accessibility & contrast

On white

8.98
#125518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#125518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125518
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125518#FFFFFF#000000##FFFFFF
##1255181.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C10
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125518;
/* rgb */ color: rgb(18, 85, 24);
/* oklch */ color: oklch(39.5% 0.114 144.2);
Tailwind
colors: {
  custom: {
    50: '#5c8658',
    500: '#125518',
    950: '#000000',
  },
}
SCSS
$custom: #125518;
$custom-light: #5c8658;
$custom-dark: #000000;
JSON
{
  "hex": "#125518",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 125.373,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.11373,
    "h": 144.2
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#125518
secondary
#8E3586
accent
#40D9E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125518

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

Preview Lab → · Contrast checker → · Palette generator →

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