#125814#125814

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

Color values

HEX#125814
RGBrgb(18, 88, 20)
HSLhsl(122, 66%, 21%)
HSVhsv(122, 80%, 35%)
CMYKcmyk(79.5%, 0%, 77.3%, 65.5%)
CIE-LABlab(32.16, -35.66, 31.72)
CIE-LCHlch(32.16, 47.73, 138.35°)
OKLaboklab(40.35% -0.0967 0.0722)
OKLCHoklch(40.35% 0.121 143.3)
XYZxyz(3.8652, 7.1581, 1.8396)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125814 #581256
analogous
#335812 #125814 #125837
triadic
#125814 #141258 #581412
tetradic
#125814 #123358 #581256 #583712
square
#125814 #123358 #581256 #583712
split-complementary
#125814 #371258 #581233
monochromatic
#051906 #082508 #125814 #1C8B20 #27BE2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125814#FFFFFF#000000##FFFFFF
##1258141.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)
#5A4F09
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125814;
/* rgb */ color: rgb(18, 88, 20);
/* oklch */ color: oklch(40.3% 0.121 143.3);
Tailwind
colors: {
  custom: {
    50: '#5d8856',
    500: '#125814',
    950: '#000000',
  },
}
SCSS
$custom: #125814;
$custom-light: #5d8856;
$custom-dark: #000000;
JSON
{
  "hex": "#125814",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 121.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40349,
    "c": 0.12067,
    "h": 143.3
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#125814
secondary
#91358E
accent
#3FE4E9
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125814

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

Preview Lab → · Contrast checker → · Palette generator →

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