#4C7F14#4C7F14

#4C7F14 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.0% C 0.143 H 132.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4C7F14
RGBrgb(76, 127, 20)
HSLhsl(89, 73%, 29%)
HSVhsv(89, 84%, 50%)
CMYKcmyk(40.2%, 0%, 84.3%, 50.2%)
CIE-LABlab(47.96, -34.31, 47.71)
CIE-LCHlch(47.96, 58.76, 125.72°)
OKLaboklab(53.99% -0.097 0.1048)
OKLCHoklch(53.99% 0.143 132.8)
XYZxyz(10.6960, 16.7652, 3.3341)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7F14 #47147F
analogous
#7F7D14 #4C7F14 #177F14
triadic
#4C7F14 #144C7F #7F144C
tetradic
#4C7F14 #147F7D #47147F #7F1417
square
#4C7F14 #147F7D #47147F #7F1417
split-complementary
#4C7F14 #14177F #7D147F
monochromatic
#101A04 #2C4A0C #4C7F14 #6CB41C #8BDE2F

Accessibility & contrast

On white

4.82
#4C7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4C7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7F14
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7F14#FFFFFF#000000##FFFFFF
##4C7F141.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#4C7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c7f14;
/* rgb */ color: rgb(76, 127, 20);
/* oklch */ color: oklch(54.0% 0.143 132.8);
Tailwind
colors: {
  custom: {
    50: '#83a45d',
    500: '#4c7f14',
    950: '#000000',
  },
}
SCSS
$custom: #4c7f14;
$custom-light: #83a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7f14",
  "rgb": {
    "r": 76,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 88.598,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.14279,
    "h": 132.8
  },
  "luminance": 0.16766
}

Semantic roles & 50–950 ramp

primary
#4C7F14
secondary
#753BB4
accent
#38EF90
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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