#125415#125415

#125415 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.115 H 143.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#125415
RGBrgb(18, 84, 21)
HSLhsl(123, 65%, 20%)
HSVhsv(123, 79%, 33%)
CMYKcmyk(78.6%, 0%, 75%, 67.1%)
CIE-LABlab(30.70, -34.06, 29.74)
CIE-LCHlch(30.70, 45.22, 138.87°)
OKLaboklab(39.13% -0.0923 0.0682)
OKLCHoklch(39.13% 0.115 143.5)
XYZxyz(3.5549, 6.5230, 1.7810)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125415 #541251
analogous
#305412 #125415 #125436
triadic
#125415 #151254 #541512
tetradic
#125415 #123054 #541251 #543612
square
#125415 #123054 #541251 #543612
split-complementary
#125415 #361254 #541230
monochromatic
#051906 #072208 #125415 #1D8622 #28B92E

Accessibility & contrast

On white

9.11
#125415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#125415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125415
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125415#FFFFFF#000000##FFFFFF
##1254151.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0C
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125415;
/* rgb */ color: rgb(18, 84, 21);
/* oklch */ color: oklch(39.1% 0.115 143.5);
Tailwind
colors: {
  custom: {
    50: '#5c8556',
    500: '#125415',
    950: '#000000',
  },
}
SCSS
$custom: #125415;
$custom-light: #5c8556;
$custom-dark: #000000;
JSON
{
  "hex": "#125415",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 21
  },
  "hsl": {
    "h": 122.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39132,
    "c": 0.11475,
    "h": 143.5
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #125415

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

Preview Lab → · Contrast checker → · Palette generator →

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