#4C7C16#4C7C16

#4C7C16 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.138 H 132.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4C7C16
RGBrgb(76, 124, 22)
HSLhsl(88, 70%, 29%)
HSVhsv(88, 82%, 49%)
CMYKcmyk(38.7%, 0%, 82.3%, 51.4%)
CIE-LABlab(46.99, -32.86, 46.21)
CIE-LCHlch(46.99, 56.71, 125.42°)
OKLaboklab(53.2% -0.093 0.102)
OKLCHoklch(53.2% 0.138 132.4)
XYZxyz(10.3328, 16.0093, 3.3046)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7C16 #46167C
analogous
#7C7916 #4C7C16 #197C16
triadic
#4C7C16 #164C7C #7C164C
tetradic
#4C7C16 #167C79 #46167C #7C1619
square
#4C7C16 #167C79 #46167C #7C1619
split-complementary
#4C7C16 #16197C #79167C
monochromatic
#101A05 #2C480D #4C7C16 #6CB01F #8BDB32

Accessibility & contrast

On white

5.00
#4C7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4C7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7C16
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7C16#FFFFFF#000000##FFFFFF
##4C7C161.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#4D7769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c7c16;
/* rgb */ color: rgb(76, 124, 22);
/* oklch */ color: oklch(53.2% 0.138 132.4);
Tailwind
colors: {
  custom: {
    50: '#83a25d',
    500: '#4c7c16',
    950: '#000000',
  },
}
SCSS
$custom: #4c7c16;
$custom-light: #83a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7c16",
  "rgb": {
    "r": 76,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 88.235,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.13799,
    "h": 132.4
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#4C7C16
secondary
#733DB1
accent
#3BED8F
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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