#4C7518#4C7518

#4C7518 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.128 H 131.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4C7518
RGBrgb(76, 117, 24)
HSLhsl(86, 66%, 28%)
HSVhsv(86, 79%, 46%)
CMYKcmyk(35%, 0%, 79.5%, 54.1%)
CIE-LABlab(44.70, -29.52, 43.39)
CIE-LCHlch(44.70, 52.48, 124.23°)
OKLaboklab(51.33% -0.0838 0.0964)
OKLCHoklch(51.33% 0.128 131)
XYZxyz(9.5066, 14.3247, 3.1280)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7518 #411875
analogous
#757018 #4C7518 #1D7518
triadic
#4C7518 #184C75 #75184C
tetradic
#4C7518 #187570 #411875 #75181D
square
#4C7518 #187570 #411875 #75181D
split-complementary
#4C7518 #181D75 #701875
monochromatic
#101905 #2B420E #4C7518 #6DA822 #8DD532

Accessibility & contrast

On white

5.43
#4C7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4C7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7518
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7518#FFFFFF#000000##FFFFFF
##4C75181.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#4E7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c7518;
/* rgb */ color: rgb(76, 117, 24);
/* oklch */ color: oklch(51.3% 0.128 131.0);
Tailwind
colors: {
  custom: {
    50: '#829d5d',
    500: '#4c7518',
    950: '#000000',
  },
}
SCSS
$custom: #4c7518;
$custom-light: #829d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7518",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 86.452,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.12772,
    "h": 131
  },
  "luminance": 0.14325
}

Semantic roles & 50–950 ramp

primary
#4C7518
secondary
#6E3FAA
accent
#3FE98A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7518

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

Preview Lab → · Contrast checker → · Palette generator →

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