#125B1F#125B1F

#125B1F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.116 H 145.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#125B1F
RGBrgb(18, 91, 31)
HSLhsl(131, 67%, 21%)
HSVhsv(131, 80%, 36%)
CMYKcmyk(80.2%, 0%, 65.9%, 64.3%)
CIE-LABlab(33.37, -35.51, 27.82)
CIE-LCHlch(33.37, 45.11, 141.92°)
OKLaboklab(41.38% -0.0957 0.0653)
OKLCHoklch(41.38% 0.116 145.7)
XYZxyz(4.2376, 7.7092, 2.5608)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B1F #5B124E
analogous
#2A5B12 #125B1F #125B44
triadic
#125B1F #1F125B #5B1F12
tetradic
#125B1F #122A5B #5B124E #5B4412
square
#125B1F #122A5B #5B124E #5B4412
split-complementary
#125B1F #44125B #5B122A
monochromatic
#051A09 #08280E #125B1F #1C8E30 #26C142

Accessibility & contrast

On white

8.26
#125B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#125B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B1F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B1F#FFFFFF#000000##FFFFFF
##125B1F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5218
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125b1f;
/* rgb */ color: rgb(18, 91, 31);
/* oklch */ color: oklch(41.4% 0.116 145.7);
Tailwind
colors: {
  custom: {
    50: '#5e8a5d',
    500: '#125b1f',
    950: '#000000',
  },
}
SCSS
$custom: #125b1f;
$custom-light: #5e8a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#125b1f",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 130.685,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41383,
    "c": 0.11589,
    "h": 145.7
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#125B1F
secondary
#933583
accent
#3ECBEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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