#125B17#125B17

#125B17 is a dark, vivid green. Relative luminance 0.077; OKLCH L 41.3% C 0.122 H 143.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#125B17
RGBrgb(18, 91, 23)
HSLhsl(124, 67%, 21%)
HSVhsv(124, 80%, 36%)
CMYKcmyk(80.2%, 0%, 74.7%, 64.3%)
CIE-LABlab(33.29, -36.47, 31.58)
CIE-LCHlch(33.29, 48.24, 139.11°)
OKLaboklab(41.29% -0.0987 0.0723)
OKLCHoklch(41.29% 0.122 143.8)
XYZxyz(4.1449, 7.6722, 2.0729)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125B17 #5B1256
analogous
#325B12 #125B17 #125B3C
triadic
#125B17 #17125B #5B1712
tetradic
#125B17 #12325B #5B1256 #5B3C12
square
#125B17 #12325B #5B1256 #5B3C12
split-complementary
#125B17 #3C125B #5B1232
monochromatic
#051A06 #08280A #125B17 #1C8E24 #26C131

Accessibility & contrast

On white

8.29
#125B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#125B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125B17
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125B17#FFFFFF#000000##FFFFFF
##125B171.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125b17;
/* rgb */ color: rgb(18, 91, 23);
/* oklch */ color: oklch(41.3% 0.122 143.8);
Tailwind
colors: {
  custom: {
    50: '#5e8a58',
    500: '#125b17',
    950: '#000000',
  },
}
SCSS
$custom: #125b17;
$custom-light: #5e8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#125b17",
  "rgb": {
    "r": 18,
    "g": 91,
    "b": 23
  },
  "hsl": {
    "h": 124.11,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41292,
    "c": 0.12238,
    "h": 143.8
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#125B17
secondary
#93358D
accent
#3EDEEA
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #125B17

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

Preview Lab → · Contrast checker → · Palette generator →

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