#125A2C#125A2C

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

Color values

HEX#125A2C
RGBrgb(18, 90, 44)
HSLhsl(142, 67%, 21%)
HSVhsv(142, 80%, 35%)
CMYKcmyk(80%, 0%, 51.1%, 64.7%)
CIE-LABlab(33.18, -33.01, 20.47)
CIE-LCHlch(33.18, 38.84, 148.20°)
OKLaboklab(41.29% -0.0888 0.05)
OKLCHoklch(41.29% 0.102 150.6)
XYZxyz(4.3599, 7.6223, 3.6239)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A2C #5A1240
analogous
#1C5A12 #125A2C #125A50
triadic
#125A2C #2C125A #5A2C12
tetradic
#125A2C #121C5A #5A1240 #5A5012
square
#125A2C #121C5A #5A1240 #5A5012
split-complementary
#125A2C #50125A #5A121C
monochromatic
#051A0C #082713 #125A2C #1C8D45 #26C05E

Accessibility & contrast

On white

8.32
#125A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#125A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A2C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A2C#FFFFFF#000000##FFFFFF
##125A2C1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125a2c;
/* rgb */ color: rgb(18, 90, 44);
/* oklch */ color: oklch(41.3% 0.102 150.6);
Tailwind
colors: {
  custom: {
    50: '#5d8966',
    500: '#125a2c',
    950: '#000000',
  },
}
SCSS
$custom: #125a2c;
$custom-light: #5d8966;
$custom-dark: #000000;
JSON
{
  "hex": "#125a2c",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 44
  },
  "hsl": {
    "h": 141.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41287,
    "c": 0.10189,
    "h": 150.6
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#125A2C
secondary
#933571
accent
#3EACEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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