#127511#127511

#127511 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.0% C 0.157 H 142.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#127511
RGBrgb(18, 117, 17)
HSLhsl(119, 75%, 26%)
HSVhsv(119, 85%, 46%)
CMYKcmyk(84.6%, 0%, 85.5%, 54.1%)
CIE-LABlab(42.60, -45.92, 42.96)
CIE-LCHlch(42.60, 62.88, 136.90°)
OKLaboklab(49.02% -0.1247 0.0952)
OKLCHoklch(49.02% 0.157 142.6)
XYZxyz(6.7115, 12.8908, 2.6647)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127511 #741175
analogous
#447511 #127511 #117542
triadic
#127511 #111275 #751112
tetradic
#127511 #114475 #741175 #754211
square
#127511 #114475 #741175 #754211
split-complementary
#127511 #421175 #751144
monochromatic
#041B04 #0A4009 #127511 #1AAA19 #23DF22

Accessibility & contrast

On white

5.87
#127511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127511
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127511#FFFFFF#000000##FFFFFF
##1275111.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127511;
/* rgb */ color: rgb(18, 117, 17);
/* oklch */ color: oklch(49.0% 0.157 142.6);
Tailwind
colors: {
  custom: {
    50: '#669e59',
    500: '#127511',
    950: '#000000',
  },
}
SCSS
$custom: #127511;
$custom-light: #669e59;
$custom-dark: #000000;
JSON
{
  "hex": "#127511",
  "rgb": {
    "r": 18,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 119.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4902,
    "c": 0.15686,
    "h": 142.6
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#127511
secondary
#AB36AC
accent
#37F1EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #127511

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

Preview Lab → · Contrast checker → · Palette generator →

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