#125A2D#125A2D

#125A2D is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.101 H 151.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#125A2D
RGBrgb(18, 90, 45)
HSLhsl(143, 67%, 21%)
HSVhsv(143, 80%, 35%)
CMYKcmyk(80%, 0%, 50%, 64.7%)
CIE-LABlab(33.20, -32.82, 19.91)
CIE-LCHlch(33.20, 38.39, 148.76°)
OKLaboklab(41.31% -0.0883 0.0488)
OKLCHoklch(41.31% 0.101 151.1)
XYZxyz(4.3789, 7.6299, 3.7240)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A2D #5A123F
analogous
#1B5A12 #125A2D #125A51
triadic
#125A2D #2D125A #5A2D12
tetradic
#125A2D #121B5A #5A123F #5A5112
square
#125A2D #121B5A #5A123F #5A5112
split-complementary
#125A2D #51125A #5A121B
monochromatic
#051A0D #082713 #125A2D #1C8D46 #26C060

Accessibility & contrast

On white

8.31
#125A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#125A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A2D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A2D#FFFFFF#000000##FFFFFF
##125A2D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522A
Deuteranopia (green-blind)
#524C30
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a2d;
/* rgb */ color: rgb(18, 90, 45);
/* oklch */ color: oklch(41.3% 0.101 151.1);
Tailwind
colors: {
  custom: {
    50: '#5d8966',
    500: '#125a2d',
    950: '#000000',
  },
}
SCSS
$custom: #125a2d;
$custom-light: #5d8966;
$custom-dark: #000000;
JSON
{
  "hex": "#125a2d",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 45
  },
  "hsl": {
    "h": 142.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41305,
    "c": 0.10085,
    "h": 151.1
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#125A2D
secondary
#933570
accent
#3EA9EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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