#125515#125515

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

Color values

HEX#125515
RGBrgb(18, 85, 21)
HSLhsl(123, 65%, 20%)
HSVhsv(123, 79%, 33%)
CMYKcmyk(78.8%, 0%, 75.3%, 66.7%)
CIE-LABlab(31.07, -34.44, 30.13)
CIE-LCHlch(31.07, 45.76, 138.82°)
OKLaboklab(39.44% -0.0933 0.069)
OKLCHoklch(39.44% 0.116 143.5)
XYZxyz(3.6331, 6.6793, 1.8071)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125515 #551252
analogous
#305512 #125515 #125537
triadic
#125515 #151255 #551512
tetradic
#125515 #123055 #551252 #553712
square
#125515 #123055 #551252 #553712
split-complementary
#125515 #371255 #551230
monochromatic
#051906 #072209 #125515 #1D8821 #27BA2E

Accessibility & contrast

On white

8.99
#125515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125515
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125515#FFFFFF#000000##FFFFFF
##1255151.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125515;
/* rgb */ color: rgb(18, 85, 21);
/* oklch */ color: oklch(39.4% 0.116 143.5);
Tailwind
colors: {
  custom: {
    50: '#5c8656',
    500: '#125515',
    950: '#000000',
  },
}
SCSS
$custom: #125515;
$custom-light: #5c8656;
$custom-dark: #000000;
JSON
{
  "hex": "#125515",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 122.687,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.11607,
    "h": 143.5
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#125515
secondary
#8E358A
accent
#40E0E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125515

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

Preview Lab → · Contrast checker → · Palette generator →

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