#4C7D16#4C7D16

#4C7D16 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.139 H 132.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4C7D16
RGBrgb(76, 125, 22)
HSLhsl(89, 70%, 29%)
HSVhsv(89, 82%, 49%)
CMYKcmyk(39.2%, 0%, 82.4%, 51%)
CIE-LABlab(47.32, -33.31, 46.52)
CIE-LCHlch(47.32, 57.21, 125.61°)
OKLaboklab(53.47% -0.0942 0.1026)
OKLCHoklch(53.47% 0.139 132.5)
XYZxyz(10.4588, 16.2612, 3.3466)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7D16 #47167D
analogous
#7D7B16 #4C7D16 #187D16
triadic
#4C7D16 #164C7D #7D164C
tetradic
#4C7D16 #167D7B #47167D #7D1618
square
#4C7D16 #167D7B #47167D #7D1618
split-complementary
#4C7D16 #16187D #7B167D
monochromatic
#101A05 #2C490D #4C7D16 #6CB11F #8BDB32

Accessibility & contrast

On white

4.94
#4C7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4C7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7D16
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7D16#FFFFFF#000000##FFFFFF
##4C7D161.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#4D786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c7d16;
/* rgb */ color: rgb(76, 125, 22);
/* oklch */ color: oklch(53.5% 0.139 132.5);
Tailwind
colors: {
  custom: {
    50: '#83a35d',
    500: '#4c7d16',
    950: '#000000',
  },
}
SCSS
$custom: #4c7d16;
$custom-light: #83a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7d16",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 88.544,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53467,
    "c": 0.13928,
    "h": 132.5
  },
  "luminance": 0.16262
}

Semantic roles & 50–950 ramp

primary
#4C7D16
secondary
#753DB2
accent
#3BED90
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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