#125C2F#125C2F

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

Color values

HEX#125C2F
RGBrgb(18, 92, 47)
HSLhsl(144, 67%, 22%)
HSVhsv(144, 80%, 36%)
CMYKcmyk(80.4%, 0%, 48.9%, 63.9%)
CIE-LABlab(33.96, -33.26, 19.71)
CIE-LCHlch(33.96, 38.66, 149.35°)
OKLaboklab(41.94% -0.0894 0.0484)
OKLCHoklch(41.94% 0.102 151.6)
XYZxyz(4.5893, 7.9876, 3.9887)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125C2F #5C123F
analogous
#1A5C12 #125C2F #125C54
triadic
#125C2F #2F125C #5C2F12
tetradic
#125C2F #121A5C #5C123F #5C5412
square
#125C2F #121A5C #5C123F #5C5412
split-complementary
#125C2F #54125C #5C121A
monochromatic
#051A0D #082915 #125C2F #1C8F49 #26C263

Accessibility & contrast

On white

8.08
#125C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#125C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125C2F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125C2F#FFFFFF#000000##FFFFFF
##125C2F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C542C
Deuteranopia (green-blind)
#544D32
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #125c2f;
/* rgb */ color: rgb(18, 92, 47);
/* oklch */ color: oklch(41.9% 0.102 151.6);
Tailwind
colors: {
  custom: {
    50: '#5d8b68',
    500: '#125c2f',
    950: '#000000',
  },
}
SCSS
$custom: #125c2f;
$custom-light: #5d8b68;
$custom-dark: #000000;
JSON
{
  "hex": "#125c2f",
  "rgb": {
    "r": 18,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 143.514,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41942,
    "c": 0.1017,
    "h": 151.6
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#125C2F
secondary
#94356F
accent
#3EA7EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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