#4C7D1E#4C7D1E

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

Color values

HEX#4C7D1E
RGBrgb(76, 125, 30)
HSLhsl(91, 61%, 30%)
HSVhsv(91, 76%, 49%)
CMYKcmyk(39.2%, 0%, 76%, 51%)
CIE-LABlab(47.36, -32.83, 43.78)
CIE-LCHlch(47.36, 54.73, 126.86°)
OKLaboklab(53.52% -0.0923 0.0982)
OKLCHoklch(53.52% 0.135 133.2)
XYZxyz(10.5483, 16.2970, 3.8179)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7D1E #4F1E7D
analogous
#7B7D1E #4C7D1E #1E7D1F
triadic
#4C7D1E #1E4C7D #7D1E4C
tetradic
#4C7D1E #1E7B7D #4F1E7D #7D1F1E
square
#4C7D1E #1E7B7D #4F1E7D #7D1F1E
split-complementary
#4C7D1E #1F1E7D #7D1E7B
monochromatic
#101A06 #2E4C12 #4C7D1E #6AAE2A #88D243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7D1E#FFFFFF#000000##FFFFFF
##4C7D1E1.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)
#82730C
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#4C786B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c7d1e;
/* rgb */ color: rgb(76, 125, 30);
/* oklch */ color: oklch(53.5% 0.135 133.2);
Tailwind
colors: {
  custom: {
    50: '#82a361',
    500: '#4c7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4c7d1e;
$custom-light: #82a361;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7d1e",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 90.947,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5352,
    "c": 0.13475,
    "h": 133.2
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#4C7D1E
secondary
#7D46B0
accent
#43E496
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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