#125813#125813

#125813 is a dark, vivid green. Relative luminance 0.072; OKLCH L 40.3% C 0.121 H 143.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#125813
RGBrgb(18, 88, 19)
HSLhsl(121, 66%, 21%)
HSVhsv(121, 80%, 35%)
CMYKcmyk(79.5%, 0%, 78.4%, 65.5%)
CIE-LABlab(32.16, -35.76, 32.14)
CIE-LCHlch(32.16, 48.08, 138.05°)
OKLaboklab(40.34% -0.097 0.0729)
OKLCHoklch(40.34% 0.121 143.1)
XYZxyz(3.8565, 7.1546, 1.7937)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125813 #581257
analogous
#345812 #125813 #125836
triadic
#125813 #131258 #581312
tetradic
#125813 #123458 #581257 #583612
square
#125813 #123458 #581257 #583612
split-complementary
#125813 #361258 #581234
monochromatic
#051905 #082508 #125813 #1C8B1E #27BE29

Accessibility & contrast

On white

8.64
#125813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125813
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125813#FFFFFF#000000##FFFFFF
##1258131.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125813;
/* rgb */ color: rgb(18, 88, 19);
/* oklch */ color: oklch(40.3% 0.121 143.1);
Tailwind
colors: {
  custom: {
    50: '#5d8856',
    500: '#125813',
    950: '#000000',
  },
}
SCSS
$custom: #125813;
$custom-light: #5d8856;
$custom-dark: #000000;
JSON
{
  "hex": "#125813",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 120.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4034,
    "c": 0.12137,
    "h": 143.1
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#125813
secondary
#91358F
accent
#3FE7E9
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125813

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

Preview Lab → · Contrast checker → · Palette generator →

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