#125A1A#125A1A

#125A1A is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.0% C 0.119 H 144.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#125A1A
RGBrgb(18, 90, 26)
HSLhsl(127, 67%, 21%)
HSVhsv(127, 80%, 35%)
CMYKcmyk(80%, 0%, 71.1%, 64.7%)
CIE-LABlab(32.95, -35.76, 29.83)
CIE-LCHlch(32.95, 46.57, 140.17°)
OKLaboklab(41.02% -0.0967 0.069)
OKLCHoklch(41.02% 0.119 144.5)
XYZxyz(4.0918, 7.5150, 2.2120)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A1A #5A1252
analogous
#2E5A12 #125A1A #125A3E
triadic
#125A1A #1A125A #5A1A12
tetradic
#125A1A #122E5A #5A1252 #5A3E12
square
#125A1A #122E5A #5A1252 #5A3E12
split-complementary
#125A1A #3E125A #5A122E
monochromatic
#051A07 #08270B #125A1A #1C8D29 #26C037

Accessibility & contrast

On white

8.39
#125A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125A1A
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A1A#FFFFFF#000000##FFFFFF
##125A1A1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5112
Deuteranopia (green-blind)
#544B20
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125a1a;
/* rgb */ color: rgb(18, 90, 26);
/* oklch */ color: oklch(41.0% 0.119 144.5);
Tailwind
colors: {
  custom: {
    50: '#5e895a',
    500: '#125a1a',
    950: '#000000',
  },
}
SCSS
$custom: #125a1a;
$custom-light: #5e895a;
$custom-dark: #000000;
JSON
{
  "hex": "#125a1a",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 26
  },
  "hsl": {
    "h": 126.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.11877,
    "h": 144.5
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#125A1A
secondary
#933588
accent
#3ED7EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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