#125B1E#125B1E

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

Color values

HEX#125B1E
RGBrgb(18, 91, 30)
HSLhsl(130, 67%, 21%)
HSVhsv(130, 80%, 36%)
CMYKcmyk(80.2%, 0%, 67%, 64.3%)
CIE-LABlab(33.36, -35.64, 28.31)
CIE-LCHlch(33.36, 45.52, 141.53°)
OKLaboklab(41.37% -0.0961 0.0663)
OKLCHoklch(41.37% 0.117 145.4)
XYZxyz(4.2246, 7.7040, 2.4924)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B1E #5B124F
analogous
#2B5B12 #125B1E #125B43
triadic
#125B1E #1E125B #5B1E12
tetradic
#125B1E #122B5B #5B124F #5B4312
square
#125B1E #122B5B #5B124F #5B4312
split-complementary
#125B1E #43125B #5B122B
monochromatic
#051A08 #08280D #125B1E #1C8E2F #26C140

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##125B1E#FFFFFF#000000##FFFFFF
##125B1E1.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)
#5D5217
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125b1e;
/* rgb */ color: rgb(18, 91, 30);
/* oklch */ color: oklch(41.4% 0.117 145.4);
Tailwind
colors: {
  custom: {
    50: '#5e8a5c',
    500: '#125b1e',
    950: '#000000',
  },
}
SCSS
$custom: #125b1e;
$custom-light: #5e8a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#125b1e",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 30
  },
  "hsl": {
    "h": 129.863,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4137,
    "c": 0.11676,
    "h": 145.4
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#125B1E
secondary
#933584
accent
#3ECEEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #125B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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