#4C7E16#4C7E16

#4C7E16 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.141 H 132.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4C7E16
RGBrgb(76, 126, 22)
HSLhsl(89, 70%, 29%)
HSVhsv(89, 83%, 49%)
CMYKcmyk(39.7%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.64, -33.76, 46.82)
CIE-LCHlch(47.64, 57.72, 125.80°)
OKLaboklab(53.74% -0.0954 0.1033)
OKLCHoklch(53.74% 0.141 132.7)
XYZxyz(10.5860, 16.5156, 3.3890)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7E16 #48167E
analogous
#7E7C16 #4C7E16 #187E16
triadic
#4C7E16 #164C7E #7E164C
tetradic
#4C7E16 #167E7C #48167E #7E1618
square
#4C7E16 #167E7C #48167E #7E1618
split-complementary
#4C7E16 #16187E #7C167E
monochromatic
#101A05 #2D4A0D #4C7E16 #6BB21F #8ADB33

Accessibility & contrast

On white

4.88
#4C7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4C7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7E16
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7E16#FFFFFF#000000##FFFFFF
##4C7E161.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#4D796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c7e16;
/* rgb */ color: rgb(76, 126, 22);
/* oklch */ color: oklch(53.7% 0.141 132.7);
Tailwind
colors: {
  custom: {
    50: '#83a45d',
    500: '#4c7e16',
    950: '#000000',
  },
}
SCSS
$custom: #4c7e16;
$custom-light: #83a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7e16",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 88.846,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.14056,
    "h": 132.7
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#4C7E16
secondary
#763DB3
accent
#3BED90
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7E16

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

Preview Lab → · Contrast checker → · Palette generator →

#4C7E16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva