#4C7B16#4C7B16

#4C7B16 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.137 H 132.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4C7B16
RGBrgb(76, 123, 22)
HSLhsl(88, 70%, 28%)
HSVhsv(88, 82%, 48%)
CMYKcmyk(38.2%, 0%, 82.1%, 51.8%)
CIE-LABlab(46.66, -32.41, 45.91)
CIE-LCHlch(46.66, 56.19, 125.22°)
OKLaboklab(52.93% -0.0917 0.1013)
OKLCHoklch(52.93% 0.137 132.2)
XYZxyz(10.2082, 15.7599, 3.2630)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7B16 #45167B
analogous
#7B7716 #4C7B16 #197B16
triadic
#4C7B16 #164C7B #7B164C
tetradic
#4C7B16 #167B77 #45167B #7B1619
square
#4C7B16 #167B77 #45167B #7B1619
split-complementary
#4C7B16 #16197B #77167B
monochromatic
#101A05 #2C470D #4C7B16 #6CAF1F #8CDA31

Accessibility & contrast

On white

5.06
#4C7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4C7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7B16
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7B16#FFFFFF#000000##FFFFFF
##4C7B161.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#4D7668
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4c7b16;
/* rgb */ color: rgb(76, 123, 22);
/* oklch */ color: oklch(52.9% 0.137 132.2);
Tailwind
colors: {
  custom: {
    50: '#83a15d',
    500: '#4c7b16',
    950: '#000000',
  },
}
SCSS
$custom: #4c7b16;
$custom-light: #83a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7b16",
  "rgb": {
    "r": 76,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 87.921,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.1367,
    "h": 132.2
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#4C7B16
secondary
#723DB0
accent
#3BEC8E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4C7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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