#127E18#127E18

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

Color values

HEX#127E18
RGBrgb(18, 126, 24)
HSLhsl(123, 75%, 28%)
HSVhsv(123, 86%, 49%)
CMYKcmyk(85.7%, 0%, 81%, 50.6%)
CIE-LABlab(45.79, -48.37, 43.76)
CIE-LCHlch(45.79, 65.23, 137.86°)
OKLaboklab(51.69% -0.131 0.0979)
OKLCHoklch(51.69% 0.164 143.2)
XYZxyz(7.8747, 15.1153, 3.3665)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E18 #7E1278
analogous
#427E12 #127E18 #127E4E
triadic
#127E18 #18127E #7E1812
tetradic
#127E18 #12427E #7E1278 #7E4E12
square
#127E18 #12427E #7E1278 #7E4E12
split-complementary
#127E18 #4E127E #7E1242
monochromatic
#041B05 #0A480E #127E18 #1AB422 #2AE134

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127E18#FFFFFF#000000##FFFFFF
##127E181.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)
#766924
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127e18;
/* rgb */ color: rgb(18, 126, 24);
/* oklch */ color: oklch(51.7% 0.164 143.2);
Tailwind
colors: {
  custom: {
    50: '#68a45e',
    500: '#127e18',
    950: '#000000',
  },
}
SCSS
$custom: #127e18;
$custom-light: #68a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#127e18",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 123.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51691,
    "c": 0.16357,
    "h": 143.2
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#127E18
secondary
#B438AD
accent
#36E7F2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #127E18

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

Preview Lab → · Contrast checker → · Palette generator →

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