#125A19#125A19

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

Color values

HEX#125A19
RGBrgb(18, 90, 25)
HSLhsl(126, 67%, 21%)
HSVhsv(126, 80%, 35%)
CMYKcmyk(80%, 0%, 72.2%, 64.7%)
CIE-LABlab(32.94, -35.88, 30.29)
CIE-LCHlch(32.94, 46.95, 139.83°)
OKLaboklab(41.01% -0.097 0.0699)
OKLCHoklch(41.01% 0.12 144.2)
XYZxyz(4.0808, 7.5106, 2.1541)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A19 #5A1253
analogous
#2F5A12 #125A19 #125A3D
triadic
#125A19 #19125A #5A1912
tetradic
#125A19 #122F5A #5A1253 #5A3D12
square
#125A19 #122F5A #5A1253 #5A3D12
split-complementary
#125A19 #3D125A #5A122F
monochromatic
#051A07 #08270B #125A19 #1C8D27 #26C035

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125A19#FFFFFF#000000##FFFFFF
##125A191.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)
#5C5110
Deuteranopia (green-blind)
#544B1F
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125a19;
/* rgb */ color: rgb(18, 90, 25);
/* oklch */ color: oklch(41.0% 0.120 144.2);
Tailwind
colors: {
  custom: {
    50: '#5e8959',
    500: '#125a19',
    950: '#000000',
  },
}
SCSS
$custom: #125a19;
$custom-light: #5e8959;
$custom-dark: #000000;
JSON
{
  "hex": "#125a19",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 125.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.11955,
    "h": 144.2
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#125A19
secondary
#933589
accent
#3ED9EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125A19

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

Preview Lab → · Contrast checker → · Palette generator →

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