#4C7519#4C7519

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

Color values

HEX#4C7519
RGBrgb(76, 117, 25)
HSLhsl(87, 65%, 28%)
HSVhsv(87, 79%, 46%)
CMYKcmyk(35%, 0%, 78.6%, 54.1%)
CIE-LABlab(44.70, -29.46, 43.04)
CIE-LCHlch(44.70, 52.16, 124.39°)
OKLaboklab(51.34% -0.0836 0.0958)
OKLCHoklch(51.34% 0.127 131.1)
XYZxyz(9.5172, 14.3289, 3.1838)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7519 #421975
analogous
#757019 #4C7519 #1E7519
triadic
#4C7519 #194C75 #75194C
tetradic
#4C7519 #197570 #421975 #75191E
square
#4C7519 #197570 #421975 #75191E
split-complementary
#4C7519 #191E75 #701975
monochromatic
#101905 #2B430E #4C7519 #6DA724 #8DD435

Accessibility & contrast

On white

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

On black

3.87
#4C7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C7519#FFFFFF#000000##FFFFFF
##4C75191.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c7519;
/* rgb */ color: rgb(76, 117, 25);
/* oklch */ color: oklch(51.3% 0.127 131.1);
Tailwind
colors: {
  custom: {
    50: '#829d5d',
    500: '#4c7519',
    950: '#000000',
  },
}
SCSS
$custom: #4c7519;
$custom-light: #829d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7519",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 86.739,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51337,
    "c": 0.12714,
    "h": 131.1
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#4C7519
secondary
#6F40AA
accent
#40E88B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C7519

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

Preview Lab → · Contrast checker → · Palette generator →

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