#4C7618#4C7618

#4C7618 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.129 H 131.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4C7618
RGBrgb(76, 118, 24)
HSLhsl(87, 66%, 28%)
HSVhsv(87, 80%, 46%)
CMYKcmyk(35.6%, 0%, 79.7%, 53.7%)
CIE-LABlab(45.02, -29.99, 43.71)
CIE-LCHlch(45.02, 53.01, 124.46°)
OKLaboklab(51.6% -0.0851 0.097)
OKLCHoklch(51.6% 0.129 131.2)
XYZxyz(9.6237, 14.5590, 3.1671)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7618 #421876
analogous
#767118 #4C7618 #1D7618
triadic
#4C7618 #184C76 #76184C
tetradic
#4C7618 #187671 #421876 #76181D
square
#4C7618 #187671 #421876 #76181D
split-complementary
#4C7618 #181D76 #711876
monochromatic
#101905 #2B430E #4C7618 #6DA922 #8DD533

Accessibility & contrast

On white

5.37
#4C7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4C7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7618
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7618#FFFFFF#000000##FFFFFF
##4C76181.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#4E7164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c7618;
/* rgb */ color: rgb(76, 118, 24);
/* oklch */ color: oklch(51.6% 0.129 131.2);
Tailwind
colors: {
  custom: {
    50: '#829e5d',
    500: '#4c7618',
    950: '#000000',
  },
}
SCSS
$custom: #4c7618;
$custom-light: #829e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7618",
  "rgb": {
    "r": 76,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 86.809,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.12905,
    "h": 131.2
  },
  "luminance": 0.14559
}

Semantic roles & 50–950 ramp

primary
#4C7618
secondary
#6F3FAB
accent
#3FE98B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C7618

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

Preview Lab → · Contrast checker → · Palette generator →

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