#4C7D15#4C7D15

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

Color values

HEX#4C7D15
RGBrgb(76, 125, 21)
HSLhsl(88, 71%, 29%)
HSVhsv(88, 83%, 49%)
CMYKcmyk(39.2%, 0%, 83.2%, 51%)
CIE-LABlab(47.31, -33.36, 46.82)
CIE-LCHlch(47.31, 57.49, 125.47°)
OKLaboklab(53.46% -0.0944 0.1031)
OKLCHoklch(53.46% 0.14 132.5)
XYZxyz(10.4493, 16.2574, 3.2967)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7D15 #46157D
analogous
#7D7A15 #4C7D15 #187D15
triadic
#4C7D15 #154C7D #7D154C
tetradic
#4C7D15 #157D7A #46157D #7D1518
square
#4C7D15 #157D7A #46157D #7D1518
split-complementary
#4C7D15 #15187D #7A157D
monochromatic
#101A04 #2C490C #4C7D15 #6CB11E #8BDC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7D15#FFFFFF#000000##FFFFFF
##4C7D151.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)
#7C6F21
Tritanopia (blue-blind)
#4D786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c7d15;
/* rgb */ color: rgb(76, 125, 21);
/* oklch */ color: oklch(53.5% 0.140 132.5);
Tailwind
colors: {
  custom: {
    50: '#83a35d',
    500: '#4c7d15',
    950: '#000000',
  },
}
SCSS
$custom: #4c7d15;
$custom-light: #83a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7d15",
  "rgb": {
    "r": 76,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 88.269,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.13977,
    "h": 132.5
  },
  "luminance": 0.16258
}

Semantic roles & 50–950 ramp

primary
#4C7D15
secondary
#733CB2
accent
#3AEE8F
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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