#4C7D1D#4C7D1D

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

Color values

HEX#4C7D1D
RGBrgb(76, 125, 29)
HSLhsl(91, 62%, 30%)
HSVhsv(91, 77%, 49%)
CMYKcmyk(39.2%, 0%, 76.8%, 51%)
CIE-LABlab(47.36, -32.90, 44.15)
CIE-LCHlch(47.36, 55.06, 126.69°)
OKLaboklab(53.51% -0.0926 0.0988)
OKLCHoklch(53.51% 0.135 133.1)
XYZxyz(10.5357, 16.2920, 3.7517)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7D1D #4E1D7D
analogous
#7C7D1D #4C7D1D #1D7D1E
triadic
#4C7D1D #1D4C7D #7D1D4C
tetradic
#4C7D1D #1D7C7D #4E1D7D #7D1E1D
square
#4C7D1D #1D7C7D #4E1D7D #7D1E1D
split-complementary
#4C7D1D #1E1D7D #7D1D7C
monochromatic
#101A06 #2E4B11 #4C7D1D #6AAF29 #89D341

Accessibility & contrast

On white

4.93
#4C7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4C7D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7D1D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7D1D#FFFFFF#000000##FFFFFF
##4C7D1D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827309
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#4C786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c7d1d;
/* rgb */ color: rgb(76, 125, 29);
/* oklch */ color: oklch(53.5% 0.135 133.1);
Tailwind
colors: {
  custom: {
    50: '#83a360',
    500: '#4c7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4c7d1d;
$custom-light: #83a360;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7d1d",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 90.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.13538,
    "h": 133.1
  },
  "luminance": 0.16292
}

Semantic roles & 50–950 ramp

primary
#4C7D1D
secondary
#7C45B1
accent
#42E596
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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