#157511#157511

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

Color values

HEX#157511
RGBrgb(21, 117, 17)
HSLhsl(118, 75%, 26%)
HSVhsv(118, 85%, 46%)
CMYKcmyk(82.1%, 0%, 85.5%, 54.1%)
CIE-LABlab(42.65, -45.50, 43.03)
CIE-LCHlch(42.65, 62.62, 136.60°)
OKLaboklab(49.07% -0.1237 0.0953)
OKLCHoklch(49.07% 0.156 142.4)
XYZxyz(6.7713, 12.9217, 2.6675)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157511 #711175
analogous
#477511 #157511 #11753F
triadic
#157511 #111575 #751115
tetradic
#157511 #114775 #711175 #753F11
square
#157511 #114775 #711175 #753F11
split-complementary
#157511 #3F1175 #751147
monochromatic
#051B04 #0B4009 #157511 #1FAA19 #29DF22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157511#FFFFFF#000000##FFFFFF
##1575111.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)
#6E621E
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #157511;
/* rgb */ color: rgb(21, 117, 17);
/* oklch */ color: oklch(49.1% 0.156 142.4);
Tailwind
colors: {
  custom: {
    50: '#669e59',
    500: '#157511',
    950: '#000000',
  },
}
SCSS
$custom: #157511;
$custom-light: #669e59;
$custom-dark: #000000;
JSON
{
  "hex": "#157511",
  "rgb": {
    "r": 21,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 117.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49073,
    "c": 0.15615,
    "h": 142.4
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#157511
secondary
#A736AC
accent
#37F1EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157511

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

Preview Lab → · Contrast checker → · Palette generator →

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