#125811#125811

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

Color values

HEX#125811
RGBrgb(18, 88, 17)
HSLhsl(119, 68%, 21%)
HSVhsv(119, 81%, 35%)
CMYKcmyk(79.5%, 0%, 80.7%, 65.5%)
CIE-LABlab(32.14, -35.94, 32.94)
CIE-LCHlch(32.14, 48.75, 137.49°)
OKLaboklab(40.32% -0.0976 0.0743)
OKLCHoklch(40.32% 0.123 142.7)
XYZxyz(3.8401, 7.1481, 1.7075)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125811 #571158
analogous
#355811 #125811 #115833
triadic
#125811 #111258 #581112
tetradic
#125811 #113558 #571158 #583311
square
#125811 #113558 #571158 #583311
split-complementary
#125811 #331158 #581135
monochromatic
#051A05 #082507 #125811 #1C8B1B #27BF25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125811#FFFFFF#000000##FFFFFF
##1258111.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)
#5A4F04
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125811;
/* rgb */ color: rgb(18, 88, 17);
/* oklch */ color: oklch(40.3% 0.123 142.7);
Tailwind
colors: {
  custom: {
    50: '#5e8855',
    500: '#125811',
    950: '#000000',
  },
}
SCSS
$custom: #125811;
$custom-light: #5e8855;
$custom-dark: #000000;
JSON
{
  "hex": "#125811",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 119.155,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.12267,
    "h": 142.7
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#125811
secondary
#903491
accent
#3DEAE8
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125811

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

Preview Lab → · Contrast checker → · Palette generator →

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