#125B2C#125B2C

#125B2C is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.103 H 150.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#125B2C
RGBrgb(18, 91, 44)
HSLhsl(141, 67%, 21%)
HSVhsv(141, 80%, 36%)
CMYKcmyk(80.2%, 0%, 51.6%, 64.3%)
CIE-LABlab(33.55, -33.42, 20.92)
CIE-LCHlch(33.55, 39.43, 147.95°)
OKLaboklab(41.59% -0.0899 0.0511)
OKLCHoklch(41.59% 0.103 150.4)
XYZxyz(4.4448, 7.7921, 3.6522)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B2C #5B1241
analogous
#1D5B12 #125B2C #125B51
triadic
#125B2C #2C125B #5B2C12
tetradic
#125B2C #121D5B #5B1241 #5B5112
square
#125B2C #121D5B #5B1241 #5B5112
split-complementary
#125B2C #51125B #5B121D
monochromatic
#051A0C #082813 #125B2C #1C8E45 #26C15D

Accessibility & contrast

On white

8.21
#125B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125B2C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B2C#FFFFFF#000000##FFFFFF
##125B2C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125b2c;
/* rgb */ color: rgb(18, 91, 44);
/* oklch */ color: oklch(41.6% 0.103 150.4);
Tailwind
colors: {
  custom: {
    50: '#5d8a66',
    500: '#125b2c',
    950: '#000000',
  },
}
SCSS
$custom: #125b2c;
$custom-light: #5d8a66;
$custom-dark: #000000;
JSON
{
  "hex": "#125b2c",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 44
  },
  "hsl": {
    "h": 141.37,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41586,
    "c": 0.10335,
    "h": 150.4
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#125B2C
secondary
#933572
accent
#3EADEA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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