#125A12#125A12

#125A12 is a dark, vivid green. Relative luminance 0.075; OKLCH L 40.9% C 0.125 H 142.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#125A12
RGBrgb(18, 90, 18)
HSLhsl(120, 67%, 21%)
HSVhsv(120, 80%, 35%)
CMYKcmyk(80%, 0%, 80%, 64.7%)
CIE-LABlab(32.88, -36.58, 33.29)
CIE-LCHlch(32.88, 49.46, 137.70°)
OKLaboklab(40.94% -0.0993 0.0752)
OKLCHoklch(40.94% 0.125 142.9)
XYZxyz(4.0146, 7.4841, 1.8052)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A12 #5A125A
analogous
#365A12 #125A12 #125A36
triadic
#125A12 #12125A #5A1212
tetradic
#125A12 #12365A #5A125A #5A3612
square
#125A12 #12365A #5A125A #5A3612
split-complementary
#125A12 #36125A #5A1236
monochromatic
#051A05 #082708 #125A12 #1C8D1C #26C026

Accessibility & contrast

On white

8.41
#125A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#125A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A12
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A12#FFFFFF#000000##FFFFFF
##125A121.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125a12;
/* rgb */ color: rgb(18, 90, 18);
/* oklch */ color: oklch(40.9% 0.125 142.9);
Tailwind
colors: {
  custom: {
    50: '#5e8955',
    500: '#125a12',
    950: '#000000',
  },
}
SCSS
$custom: #125a12;
$custom-light: #5e8955;
$custom-dark: #000000;
JSON
{
  "hex": "#125a12",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40942,
    "c": 0.12454,
    "h": 142.9
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#125A12
secondary
#933593
accent
#3EEAEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #125A12

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

Preview Lab → · Contrast checker → · Palette generator →

#125A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva