#4C7E14#4C7E14

#4C7E14 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.142 H 132.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4C7E14
RGBrgb(76, 126, 20)
HSLhsl(88, 73%, 29%)
HSVhsv(88, 84%, 49%)
CMYKcmyk(39.7%, 0%, 84.1%, 50.6%)
CIE-LABlab(47.63, -33.86, 47.41)
CIE-LCHlch(47.63, 58.26, 125.53°)
OKLaboklab(53.73% -0.0958 0.1042)
OKLCHoklch(53.73% 0.142 132.6)
XYZxyz(10.5675, 16.5082, 3.2913)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7E14 #46147E
analogous
#7E7B14 #4C7E14 #177E14
triadic
#4C7E14 #144C7E #7E144C
tetradic
#4C7E14 #147E7B #46147E #7E1417
square
#4C7E14 #147E7B #46147E #7E1417
split-complementary
#4C7E14 #14177E #7B147E
monochromatic
#101A04 #2C490C #4C7E14 #6CB31C #8BDE2E

Accessibility & contrast

On white

4.88
#4C7E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4C7E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7E14
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7E14#FFFFFF#000000##FFFFFF
##4C7E141.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7D7021
Tritanopia (blue-blind)
#4D796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c7e14;
/* rgb */ color: rgb(76, 126, 20);
/* oklch */ color: oklch(53.7% 0.142 132.6);
Tailwind
colors: {
  custom: {
    50: '#83a45d',
    500: '#4c7e14',
    950: '#000000',
  },
}
SCSS
$custom: #4c7e14;
$custom-light: #83a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7e14",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 88.302,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.14152,
    "h": 132.6
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

primary
#4C7E14
secondary
#733AB3
accent
#38EF8F
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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