#125510#125510

#125510 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.4% C 0.120 H 142.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#125510
RGBrgb(18, 85, 16)
HSLhsl(118, 68%, 20%)
HSVhsv(118, 81%, 33%)
CMYKcmyk(78.8%, 0%, 81.2%, 66.7%)
CIE-LABlab(31.03, -34.92, 32.23)
CIE-LCHlch(31.03, 47.52, 137.30°)
OKLaboklab(39.39% -0.0949 0.0727)
OKLCHoklch(39.39% 0.12 142.6)
XYZxyz(3.5913, 6.6626, 1.5869)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125510 #531055
analogous
#355510 #125510 #105531
triadic
#125510 #101255 #551012
tetradic
#125510 #103555 #531055 #553110
square
#125510 #103555 #531055 #553110
split-complementary
#125510 #311055 #551035
monochromatic
#051A05 #072106 #125510 #1D891A #28BC23

Accessibility & contrast

On white

9.00
#125510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#125510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125510
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125510#FFFFFF#000000##FFFFFF
##1255101.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125510;
/* rgb */ color: rgb(18, 85, 16);
/* oklch */ color: oklch(39.4% 0.120 142.6);
Tailwind
colors: {
  custom: {
    50: '#5d8654',
    500: '#125510',
    950: '#000000',
  },
}
SCSS
$custom: #125510;
$custom-light: #5d8654;
$custom-dark: #000000;
JSON
{
  "hex": "#125510",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 118.261,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39394,
    "c": 0.11952,
    "h": 142.6
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#125510
secondary
#8C328F
accent
#3DEBE6
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#050B03
muted
#797C78

Preview Lab

Preview with #125510

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

Preview Lab → · Contrast checker → · Palette generator →

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