#4C7D14#4C7D14

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

Color values

HEX#4C7D14
RGBrgb(76, 125, 20)
HSLhsl(88, 72%, 28%)
HSVhsv(88, 84%, 49%)
CMYKcmyk(39.2%, 0%, 84%, 51%)
CIE-LABlab(47.31, -33.41, 47.11)
CIE-LCHlch(47.31, 57.76, 125.34°)
OKLaboklab(53.46% -0.0946 0.1036)
OKLCHoklch(53.46% 0.14 132.4)
XYZxyz(10.4402, 16.2538, 3.2489)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7D14 #45147D
analogous
#7D7914 #4C7D14 #177D14
triadic
#4C7D14 #144C7D #7D144C
tetradic
#4C7D14 #147D79 #45147D #7D1417
square
#4C7D14 #147D79 #45147D #7D1417
split-complementary
#4C7D14 #14177D #79147D
monochromatic
#101A04 #2C480C #4C7D14 #6CB21C #8CDE2E

Accessibility & contrast

On white

4.94
#4C7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4C7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7D14
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7D14#FFFFFF#000000##FFFFFF
##4C7D141.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#4D786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c7d14;
/* rgb */ color: rgb(76, 125, 20);
/* oklch */ color: oklch(53.5% 0.140 132.4);
Tailwind
colors: {
  custom: {
    50: '#83a35c',
    500: '#4c7d14',
    950: '#000000',
  },
}
SCSS
$custom: #4c7d14;
$custom-light: #83a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7d14",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 88,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53456,
    "c": 0.14024,
    "h": 132.4
  },
  "luminance": 0.16254
}

Semantic roles & 50–950 ramp

primary
#4C7D14
secondary
#723AB2
accent
#39EF8E
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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