#125B2A#125B2A

#125B2A is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.105 H 149.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#125B2A
RGBrgb(18, 91, 42)
HSLhsl(140, 67%, 21%)
HSVhsv(140, 80%, 36%)
CMYKcmyk(80.2%, 0%, 53.8%, 64.3%)
CIE-LABlab(33.51, -33.78, 22.03)
CIE-LCHlch(33.51, 40.33, 146.89°)
OKLaboklab(41.55% -0.0908 0.0534)
OKLCHoklch(41.55% 0.105 149.5)
XYZxyz(4.4081, 7.7774, 3.4589)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B2A #5B1243
analogous
#1F5B12 #125B2A #125B4F
triadic
#125B2A #2A125B #5B2A12
tetradic
#125B2A #121F5B #5B1243 #5B4F12
square
#125B2A #121F5B #5B1243 #5B4F12
split-complementary
#125B2A #4F125B #5B121F
monochromatic
#051A0C #082812 #125B2A #1C8E42 #26C159

Accessibility & contrast

On white

8.22
#125B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#125B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B2A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B2A#FFFFFF#000000##FFFFFF
##125B2A1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5226
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b2a;
/* rgb */ color: rgb(18, 91, 42);
/* oklch */ color: oklch(41.5% 0.105 149.5);
Tailwind
colors: {
  custom: {
    50: '#5d8a64',
    500: '#125b2a',
    950: '#000000',
  },
}
SCSS
$custom: #125b2a;
$custom-light: #5d8a64;
$custom-dark: #000000;
JSON
{
  "hex": "#125b2a",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 42
  },
  "hsl": {
    "h": 139.726,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4155,
    "c": 0.10538,
    "h": 149.5
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#125B2A
secondary
#933575
accent
#3EB1EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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