#4C7314#4C7314

#4C7314 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.8% C 0.127 H 130.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4C7314
RGBrgb(76, 115, 20)
HSLhsl(85, 70%, 26%)
HSVhsv(85, 83%, 45%)
CMYKcmyk(33.9%, 0%, 82.6%, 54.9%)
CIE-LABlab(44.01, -28.80, 44.11)
CIE-LCHlch(44.01, 52.68, 123.14°)
OKLaboklab(50.77% -0.0821 0.0972)
OKLCHoklch(50.77% 0.127 130.2)
XYZxyz(9.2374, 13.8482, 2.8479)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7314 #3B1473
analogous
#736B14 #4C7314 #1C7314
triadic
#4C7314 #144C73 #73144C
tetradic
#4C7314 #14736B #3B1473 #73141C
square
#4C7314 #14736B #3B1473 #73141C
split-complementary
#4C7314 #141C73 #6B1473
monochromatic
#111A05 #2A3F0B #4C7314 #6EA71D #91DA28

Accessibility & contrast

On white

5.57
#4C7314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C7314
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7314#FFFFFF#000000##FFFFFF
##4C73141.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#4E6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c7314;
/* rgb */ color: rgb(76, 115, 20);
/* oklch */ color: oklch(50.8% 0.127 130.2);
Tailwind
colors: {
  custom: {
    50: '#829b5b',
    500: '#4c7314',
    950: '#000000',
  },
}
SCSS
$custom: #4c7314;
$custom-light: #829b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7314",
  "rgb": {
    "r": 76,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 84.632,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50768,
    "c": 0.12727,
    "h": 130.2
  },
  "luminance": 0.13848
}

Semantic roles & 50–950 ramp

primary
#4C7314
secondary
#673AA9
accent
#3BED84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7314

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

Preview Lab → · Contrast checker → · Palette generator →

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