#127E17#127E17

#127E17 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.164 H 143.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#127E17
RGBrgb(18, 126, 23)
HSLhsl(123, 75%, 28%)
HSVhsv(123, 86%, 49%)
CMYKcmyk(85.7%, 0%, 81.7%, 50.6%)
CIE-LABlab(45.79, -48.44, 44.09)
CIE-LCHlch(45.79, 65.50, 137.69°)
OKLaboklab(51.68% -0.1313 0.0984)
OKLCHoklch(51.68% 0.164 143.1)
XYZxyz(7.8644, 15.1112, 3.3127)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E17 #7E1279
analogous
#437E12 #127E17 #127E4D
triadic
#127E17 #17127E #7E1712
tetradic
#127E17 #12437E #7E1279 #7E4D12
square
#127E17 #12437E #7E1279 #7E4D12
split-complementary
#127E17 #4D127E #7E1243
monochromatic
#041B05 #0A480D #127E17 #1AB421 #2AE132

Accessibility & contrast

On white

5.22
#127E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#127E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E17
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E17#FFFFFF#000000##FFFFFF
##127E171.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127e17;
/* rgb */ color: rgb(18, 126, 23);
/* oklch */ color: oklch(51.7% 0.164 143.1);
Tailwind
colors: {
  custom: {
    50: '#68a45d',
    500: '#127e17',
    950: '#000000',
  },
}
SCSS
$custom: #127e17;
$custom-light: #68a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#127e17",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 122.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51684,
    "c": 0.16407,
    "h": 143.1
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#127E17
secondary
#B438AE
accent
#36E9F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127E17

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

Preview Lab → · Contrast checker → · Palette generator →

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