#125912#125912

#125912 is a dark, vivid green. Relative luminance 0.073; OKLCH L 40.6% C 0.123 H 142.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#125912
RGBrgb(18, 89, 18)
HSLhsl(120, 66%, 21%)
HSVhsv(120, 80%, 35%)
CMYKcmyk(79.8%, 0%, 79.8%, 65.1%)
CIE-LABlab(32.52, -36.22, 32.92)
CIE-LCHlch(32.52, 48.94, 137.73°)
OKLaboklab(40.64% -0.0983 0.0744)
OKLCHoklch(40.64% 0.123 142.9)
XYZxyz(3.9308, 7.3166, 1.7772)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125912 #591259
analogous
#355912 #125912 #125935
triadic
#125912 #121259 #591212
tetradic
#125912 #123559 #591259 #593512
square
#125912 #123559 #591259 #593512
split-complementary
#125912 #351259 #591235
monochromatic
#051905 #082608 #125912 #1C8C1C #27BF27

Accessibility & contrast

On white

8.52
#125912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#125912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125912
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125912#FFFFFF#000000##FFFFFF
##1259121.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#00564B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125912;
/* rgb */ color: rgb(18, 89, 18);
/* oklch */ color: oklch(40.6% 0.123 142.9);
Tailwind
colors: {
  custom: {
    50: '#5e8955',
    500: '#125912',
    950: '#000000',
  },
}
SCSS
$custom: #125912;
$custom-light: #5e8955;
$custom-dark: #000000;
JSON
{
  "hex": "#125912",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40637,
    "c": 0.12328,
    "h": 142.9
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#125912
secondary
#923592
accent
#3FE9E9
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125912

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

Preview Lab → · Contrast checker → · Palette generator →

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