#4C7019#4C7019

#4C7019 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.120 H 129.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4C7019
RGBrgb(76, 112, 25)
HSLhsl(85, 64%, 27%)
HSVhsv(85, 78%, 44%)
CMYKcmyk(32.1%, 0%, 77.7%, 56.1%)
CIE-LABlab(43.06, -27.07, 41.45)
CIE-LCHlch(43.06, 49.51, 123.15°)
OKLaboklab(50% -0.0771 0.0925)
OKLCHoklch(50% 0.12 129.8)
XYZxyz(8.9501, 13.1948, 2.9948)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7019 #3D1970
analogous
#706919 #4C7019 #207019
triadic
#4C7019 #194C70 #70194C
tetradic
#4C7019 #197069 #3D1970 #701920
square
#4C7019 #197069 #3D1970 #701920
split-complementary
#4C7019 #192070 #691970
monochromatic
#111906 #2A3E0E #4C7019 #6EA224 #8FD132

Accessibility & contrast

On white

5.77
#4C7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4C7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7019
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7019#FFFFFF#000000##FFFFFF
##4C70191.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766707
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#4E6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c7019;
/* rgb */ color: rgb(76, 112, 25);
/* oklch */ color: oklch(50.0% 0.120 129.8);
Tailwind
colors: {
  custom: {
    50: '#82995d',
    500: '#4c7019',
    950: '#000000',
  },
}
SCSS
$custom: #4c7019;
$custom-light: #82995d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7019",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 84.828,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.12039,
    "h": 129.8
  },
  "luminance": 0.13195
}

Semantic roles & 50–950 ramp

primary
#4C7019
secondary
#6A40A5
accent
#41E786
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7019

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

Preview Lab → · Contrast checker → · Palette generator →

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