#125815#125815

#125815 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.4% C 0.120 H 143.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#125815
RGBrgb(18, 88, 21)
HSLhsl(123, 66%, 21%)
HSVhsv(123, 80%, 35%)
CMYKcmyk(79.5%, 0%, 76.1%, 65.5%)
CIE-LABlab(32.17, -35.56, 31.29)
CIE-LCHlch(32.17, 47.37, 138.65°)
OKLaboklab(40.36% -0.0964 0.0714)
OKLCHoklch(40.36% 0.12 143.5)
XYZxyz(3.8743, 7.1617, 1.8875)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125815 #581255
analogous
#325812 #125815 #125838
triadic
#125815 #151258 #581512
tetradic
#125815 #123258 #581255 #583812
square
#125815 #123258 #581255 #583812
split-complementary
#125815 #381258 #581232
monochromatic
#051906 #082509 #125815 #1C8B21 #27BE2D

Accessibility & contrast

On white

8.63
#125815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#125815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125815
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125815#FFFFFF#000000##FFFFFF
##1258151.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0A
Deuteranopia (green-blind)
#524A1C
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125815;
/* rgb */ color: rgb(18, 88, 21);
/* oklch */ color: oklch(40.4% 0.120 143.5);
Tailwind
colors: {
  custom: {
    50: '#5d8857',
    500: '#125815',
    950: '#000000',
  },
}
SCSS
$custom: #125815;
$custom-light: #5d8857;
$custom-dark: #000000;
JSON
{
  "hex": "#125815",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 122.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.11997,
    "h": 143.5
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#125815
secondary
#91358D
accent
#3FE2E9
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125815

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

Preview Lab → · Contrast checker → · Palette generator →

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