#125C2A#125C2A

#125C2A is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.107 H 149.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#125C2A
RGBrgb(18, 92, 42)
HSLhsl(139, 67%, 22%)
HSVhsv(139, 80%, 36%)
CMYKcmyk(80.4%, 0%, 54.3%, 63.9%)
CIE-LABlab(33.88, -34.19, 22.48)
CIE-LCHlch(33.88, 40.91, 146.67°)
OKLaboklab(41.85% -0.0919 0.0545)
OKLCHoklch(41.85% 0.107 149.4)
XYZxyz(4.4942, 7.9495, 3.4876)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C2A #5C1244
analogous
#1F5C12 #125C2A #125C4F
triadic
#125C2A #2A125C #5C2A12
tetradic
#125C2A #121F5C #5C1244 #5C4F12
square
#125C2A #121F5C #5C1244 #5C4F12
split-complementary
#125C2A #4F125C #5C121F
monochromatic
#051A0C #082913 #125C2A #1C8F41 #26C259

Accessibility & contrast

On white

8.11
#125C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#125C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C2A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C2A#FFFFFF#000000##FFFFFF
##125C2A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5326
Deuteranopia (green-blind)
#544D2E
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125c2a;
/* rgb */ color: rgb(18, 92, 42);
/* oklch */ color: oklch(41.9% 0.107 149.4);
Tailwind
colors: {
  custom: {
    50: '#5d8b64',
    500: '#125c2a',
    950: '#000000',
  },
}
SCSS
$custom: #125c2a;
$custom-light: #5d8b64;
$custom-dark: #000000;
JSON
{
  "hex": "#125c2a",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 139.459,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.10682,
    "h": 149.4
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#125C2A
secondary
#943576
accent
#3EB2EA
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #125C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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