#127D17#127D17

#127D17 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.4% C 0.163 H 143.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#127D17
RGBrgb(18, 125, 23)
HSLhsl(123, 75%, 28%)
HSVhsv(123, 86%, 49%)
CMYKcmyk(85.6%, 0%, 81.6%, 51%)
CIE-LABlab(45.44, -48.12, 43.76)
CIE-LCHlch(45.44, 65.04, 137.72°)
OKLaboklab(51.39% -0.1304 0.0977)
OKLCHoklch(51.39% 0.163 143.1)
XYZxyz(7.7372, 14.8567, 3.2703)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D17 #7D1278
analogous
#427D12 #127D17 #127D4C
triadic
#127D17 #17127D #7D1712
tetradic
#127D17 #12427D #7D1278 #7D4C12
square
#127D17 #12427D #7D1278 #7D4C12
split-complementary
#127D17 #4C127D #7D1242
monochromatic
#041B05 #0A480D #127D17 #1AB221 #29E032

Accessibility & contrast

On white

5.29
#127D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#127D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D17
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D17#FFFFFF#000000##FFFFFF
##127D171.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127d17;
/* rgb */ color: rgb(18, 125, 23);
/* oklch */ color: oklch(51.4% 0.163 143.1);
Tailwind
colors: {
  custom: {
    50: '#68a45d',
    500: '#127d17',
    950: '#000000',
  },
}
SCSS
$custom: #127d17;
$custom-light: #68a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#127d17",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 122.804,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.16295,
    "h": 143.1
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#127D17
secondary
#B338AD
accent
#36E9F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127D17

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

Preview Lab → · Contrast checker → · Palette generator →

#127D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva