#4C7A16#4C7A16

#4C7A16 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.135 H 131.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4C7A16
RGBrgb(76, 122, 22)
HSLhsl(88, 69%, 28%)
HSVhsv(88, 82%, 48%)
CMYKcmyk(37.7%, 0%, 82%, 52.2%)
CIE-LABlab(46.33, -31.95, 45.60)
CIE-LCHlch(46.33, 55.68, 125.02°)
OKLaboklab(52.66% -0.0905 0.1007)
OKLCHoklch(52.66% 0.135 131.9)
XYZxyz(10.0847, 15.5131, 3.2219)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7A16 #44167A
analogous
#7A7616 #4C7A16 #1A7A16
triadic
#4C7A16 #164C7A #7A164C
tetradic
#4C7A16 #167A76 #44167A #7A161A
square
#4C7A16 #167A76 #44167A #7A161A
split-complementary
#4C7A16 #161A7A #76167A
monochromatic
#101A05 #2C460D #4C7A16 #6CAE1F #8CDA31

Accessibility & contrast

On white

5.12
#4C7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4C7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7A16
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7A16#FFFFFF#000000##FFFFFF
##4C7A161.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#796D21
Tritanopia (blue-blind)
#4D7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4c7a16;
/* rgb */ color: rgb(76, 122, 22);
/* oklch */ color: oklch(52.7% 0.135 131.9);
Tailwind
colors: {
  custom: {
    50: '#83a15d',
    500: '#4c7a16',
    950: '#000000',
  },
}
SCSS
$custom: #4c7a16;
$custom-light: #83a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7a16",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 87.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52661,
    "c": 0.1354,
    "h": 131.9
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#4C7A16
secondary
#713DAF
accent
#3CEC8D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4C7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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