#127C17#127C17

#127C17 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.162 H 143.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#127C17
RGBrgb(18, 124, 23)
HSLhsl(123, 75%, 28%)
HSVhsv(123, 85%, 49%)
CMYKcmyk(85.5%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.09, -47.80, 43.42)
CIE-LCHlch(45.09, 64.58, 137.74°)
OKLaboklab(51.1% -0.1295 0.097)
OKLCHoklch(51.1% 0.162 143.2)
XYZxyz(7.6113, 14.6048, 3.2283)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C17 #7C1277
analogous
#427C12 #127C17 #127C4C
triadic
#127C17 #17127C #7C1712
tetradic
#127C17 #12427C #7C1277 #7C4C12
square
#127C17 #12427C #7C1277 #7C4C12
split-complementary
#127C17 #4C127C #7C1242
monochromatic
#041B05 #0A470D #127C17 #1AB121 #29E031

Accessibility & contrast

On white

5.36
#127C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#127C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C17
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C17#FFFFFF#000000##FFFFFF
##127C171.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127c17;
/* rgb */ color: rgb(18, 124, 23);
/* oklch */ color: oklch(51.1% 0.162 143.2);
Tailwind
colors: {
  custom: {
    50: '#67a35d',
    500: '#127c17',
    950: '#000000',
  },
}
SCSS
$custom: #127c17;
$custom-light: #67a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#127c17",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 122.83,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.16183,
    "h": 143.2
  },
  "luminance": 0.14606
}

Semantic roles & 50–950 ramp

primary
#127C17
secondary
#B238AC
accent
#37E8F1
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127C17

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

Preview Lab → · Contrast checker → · Palette generator →

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