#125C12#125C12

#125C12 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.127 H 142.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#125C12
RGBrgb(18, 92, 18)
HSLhsl(120, 67%, 22%)
HSVhsv(120, 80%, 36%)
CMYKcmyk(80.4%, 0%, 80.4%, 63.9%)
CIE-LABlab(33.62, -37.31, 34.02)
CIE-LCHlch(33.62, 50.49, 137.64°)
OKLaboklab(41.55% -0.1013 0.0767)
OKLCHoklch(41.55% 0.127 142.9)
XYZxyz(4.1855, 7.8261, 1.8621)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C12 #5C125C
analogous
#375C12 #125C12 #125C37
triadic
#125C12 #12125C #5C1212
tetradic
#125C12 #12375C #5C125C #5C3712
square
#125C12 #12375C #5C125C #5C3712
split-complementary
#125C12 #37125C #5C1237
monochromatic
#051A05 #082908 #125C12 #1C8F1C #26C226

Accessibility & contrast

On white

8.19
#125C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#125C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C12
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C12#FFFFFF#000000##FFFFFF
##125C121.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5304
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125c12;
/* rgb */ color: rgb(18, 92, 18);
/* oklch */ color: oklch(41.6% 0.127 142.9);
Tailwind
colors: {
  custom: {
    50: '#5f8b56',
    500: '#125c12',
    950: '#000000',
  },
}
SCSS
$custom: #125c12;
$custom-light: #5f8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#125c12",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.12702,
    "h": 142.9
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #125C12

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

Preview Lab → · Contrast checker → · Palette generator →

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