#125A1B#125A1B

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

Color values

HEX#125A1B
RGBrgb(18, 90, 27)
HSLhsl(128, 67%, 21%)
HSVhsv(128, 80%, 35%)
CMYKcmyk(80%, 0%, 70%, 64.7%)
CIE-LABlab(32.96, -35.64, 29.36)
CIE-LCHlch(32.96, 46.17, 140.52°)
OKLaboklab(41.03% -0.0963 0.0681)
OKLCHoklch(41.03% 0.118 144.7)
XYZxyz(4.1032, 7.5196, 2.2719)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A1B #5A1251
analogous
#2D5A12 #125A1B #125A3F
triadic
#125A1B #1B125A #5A1B12
tetradic
#125A1B #122D5A #5A1251 #5A3F12
square
#125A1B #122D5A #5A1251 #5A3F12
split-complementary
#125A1B #3F125A #5A122D
monochromatic
#051A08 #08270C #125A1B #1C8D2A #26C03A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125A1B#FFFFFF#000000##FFFFFF
##125A1B1.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)
#5C5113
Deuteranopia (green-blind)
#544B21
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a1b;
/* rgb */ color: rgb(18, 90, 27);
/* oklch */ color: oklch(41.0% 0.118 144.7);
Tailwind
colors: {
  custom: {
    50: '#5d895a',
    500: '#125a1b',
    950: '#000000',
  },
}
SCSS
$custom: #125a1b;
$custom-light: #5d895a;
$custom-dark: #000000;
JSON
{
  "hex": "#125a1b",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 27
  },
  "hsl": {
    "h": 127.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41031,
    "c": 0.11796,
    "h": 144.7
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#125A1B
secondary
#933587
accent
#3ED4EA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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