#4C7219#4C7219

#4C7219 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.123 H 130.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4C7219
RGBrgb(76, 114, 25)
HSLhsl(86, 64%, 27%)
HSVhsv(86, 78%, 45%)
CMYKcmyk(33.3%, 0%, 78.1%, 55.3%)
CIE-LABlab(43.71, -28.04, 42.09)
CIE-LCHlch(43.71, 50.57, 123.67°)
OKLaboklab(50.53% -0.0797 0.0938)
OKLCHoklch(50.53% 0.123 130.3)
XYZxyz(9.1732, 13.6410, 3.0692)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7219 #3F1972
analogous
#726C19 #4C7219 #1F7219
triadic
#4C7219 #194C72 #72194C
tetradic
#4C7219 #19726C #3F1972 #72191F
square
#4C7219 #19726C #3F1972 #72191F
split-complementary
#4C7219 #191F72 #6C1972
monochromatic
#111906 #2B400E #4C7219 #6DA424 #8ED233

Accessibility & contrast

On white

5.63
#4C7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4C7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7219
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7219#FFFFFF#000000##FFFFFF
##4C72191.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776906
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#4E6D61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c7219;
/* rgb */ color: rgb(76, 114, 25);
/* oklch */ color: oklch(50.5% 0.123 130.3);
Tailwind
colors: {
  custom: {
    50: '#829b5d',
    500: '#4c7219',
    950: '#000000',
  },
}
SCSS
$custom: #4c7219;
$custom-light: #829b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7219",
  "rgb": {
    "r": 76,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 85.618,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.1231,
    "h": 130.3
  },
  "luminance": 0.13641
}

Semantic roles & 50–950 ramp

primary
#4C7219
secondary
#6C40A7
accent
#41E788
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7219

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

Preview Lab → · Contrast checker → · Palette generator →

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