#127516#127516

#127516 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.154 H 143.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#127516
RGBrgb(18, 117, 22)
HSLhsl(122, 73%, 26%)
HSVhsv(122, 85%, 46%)
CMYKcmyk(84.6%, 0%, 81.2%, 54.1%)
CIE-LABlab(42.62, -45.58, 41.39)
CIE-LCHlch(42.62, 61.57, 137.76°)
OKLaboklab(49.05% -0.1235 0.0927)
OKLCHoklch(49.05% 0.154 143.1)
XYZxyz(6.7551, 12.9083, 2.8944)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127516 #751271
analogous
#407512 #127516 #127548
triadic
#127516 #161275 #751612
tetradic
#127516 #124075 #751271 #754812
square
#127516 #124075 #751271 #754812
split-complementary
#127516 #481275 #751240
monochromatic
#041B05 #0A400C #127516 #1AAA20 #24DD2C

Accessibility & contrast

On white

5.86
#127516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#127516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127516
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127516#FFFFFF#000000##FFFFFF
##1275161.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6D6221
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #127516;
/* rgb */ color: rgb(18, 117, 22);
/* oklch */ color: oklch(49.1% 0.154 143.1);
Tailwind
colors: {
  custom: {
    50: '#659e5b',
    500: '#127516',
    950: '#000000',
  },
}
SCSS
$custom: #127516;
$custom-light: #659e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#127516",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 122.424,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.15442,
    "h": 143.1
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

primary
#127516
secondary
#AC37A7
accent
#38E9F0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127516

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

Preview Lab → · Contrast checker → · Palette generator →

#127516 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva