#4C7319#4C7319

#4C7319 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.124 H 130.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4C7319
RGBrgb(76, 115, 25)
HSLhsl(86, 64%, 27%)
HSVhsv(86, 78%, 45%)
CMYKcmyk(33.9%, 0%, 78.3%, 54.9%)
CIE-LABlab(44.04, -28.51, 42.41)
CIE-LCHlch(44.04, 51.10, 123.92°)
OKLaboklab(50.8% -0.081 0.0945)
OKLCHoklch(50.8% 0.124 130.6)
XYZxyz(9.2866, 13.8678, 3.1070)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7319 #401973
analogous
#736D19 #4C7319 #1F7319
triadic
#4C7319 #194C73 #73194C
tetradic
#4C7319 #19736D #401973 #73191F
square
#4C7319 #19736D #401973 #73191F
split-complementary
#4C7319 #191F73 #6D1973
monochromatic
#111905 #2B410E #4C7319 #6DA524 #8ED334

Accessibility & contrast

On white

5.56
#4C7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4C7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7319
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7319#FFFFFF#000000##FFFFFF
##4C73191.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A06
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#4E6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c7319;
/* rgb */ color: rgb(76, 115, 25);
/* oklch */ color: oklch(50.8% 0.124 130.6);
Tailwind
colors: {
  custom: {
    50: '#829b5d',
    500: '#4c7319',
    950: '#000000',
  },
}
SCSS
$custom: #4c7319;
$custom-light: #829b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7319",
  "rgb": {
    "r": 76,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 86,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.12444,
    "h": 130.6
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#4C7319
secondary
#6D40A8
accent
#41E789
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7319

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

Preview Lab → · Contrast checker → · Palette generator →

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