#4C7A1D#4C7A1D

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

Color values

HEX#4C7A1D
RGBrgb(76, 122, 29)
HSLhsl(90, 62%, 30%)
HSVhsv(90, 76%, 48%)
CMYKcmyk(37.7%, 0%, 76.2%, 52.2%)
CIE-LABlab(46.37, -31.53, 43.18)
CIE-LCHlch(46.37, 53.47, 126.13°)
OKLaboklab(52.71% -0.0888 0.0968)
OKLCHoklch(52.71% 0.131 132.6)
XYZxyz(10.1617, 15.5438, 3.6270)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7A1D #4B1D7A
analogous
#7A791D #4C7A1D #1E7A1D
triadic
#4C7A1D #1D4C7A #7A1D4C
tetradic
#4C7A1D #1D7A79 #4B1D7A #7A1D1E
square
#4C7A1D #1D7A79 #4B1D7A #7A1D1E
split-complementary
#4C7A1D #1D1E7A #791D7A
monochromatic
#0F1906 #2D4911 #4C7A1D #6BAB29 #89D240

Accessibility & contrast

On white

5.11
#4C7A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4C7A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7A1D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7A1D#FFFFFF#000000##FFFFFF
##4C7A1D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700B
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#4D7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4c7a1d;
/* rgb */ color: rgb(76, 122, 29);
/* oklch */ color: oklch(52.7% 0.131 132.6);
Tailwind
colors: {
  custom: {
    50: '#82a160',
    500: '#4c7a1d',
    950: '#000000',
  },
}
SCSS
$custom: #4c7a1d;
$custom-light: #82a160;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7a1d",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 89.677,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52708,
    "c": 0.13137,
    "h": 132.6
  },
  "luminance": 0.15544
}

Semantic roles & 50–950 ramp

primary
#4C7A1D
secondary
#7945AE
accent
#43E593
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4C7A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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