#125B2F#125B2F

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

Color values

HEX#125B2F
RGBrgb(18, 91, 47)
HSLhsl(144, 67%, 21%)
HSVhsv(144, 80%, 36%)
CMYKcmyk(80.2%, 0%, 48.4%, 64.3%)
CIE-LABlab(33.60, -32.85, 19.25)
CIE-LCHlch(33.60, 38.07, 149.63°)
OKLaboklab(41.64% -0.0884 0.0473)
OKLCHoklch(41.64% 0.1 151.8)
XYZxyz(4.5032, 7.8155, 3.9600)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B2F #5B123E
analogous
#1A5B12 #125B2F #125B54
triadic
#125B2F #2F125B #5B2F12
tetradic
#125B2F #121A5B #5B123E #5B5412
square
#125B2F #121A5B #5B123E #5B5412
split-complementary
#125B2F #54125B #5B121A
monochromatic
#051A0D #082815 #125B2F #1C8E49 #26C164

Accessibility & contrast

On white

8.19
#125B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125B2F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B2F#FFFFFF#000000##FFFFFF
##125B2F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532C
Deuteranopia (green-blind)
#534D32
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #125b2f;
/* rgb */ color: rgb(18, 91, 47);
/* oklch */ color: oklch(41.6% 0.100 151.8);
Tailwind
colors: {
  custom: {
    50: '#5d8a68',
    500: '#125b2f',
    950: '#000000',
  },
}
SCSS
$custom: #125b2f;
$custom-light: #5d8a68;
$custom-dark: #000000;
JSON
{
  "hex": "#125b2f",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 47
  },
  "hsl": {
    "h": 143.836,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41643,
    "c": 0.10024,
    "h": 151.8
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

primary
#125B2F
secondary
#93356E
accent
#3EA6EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #125B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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