#4C7514#4C7514

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

Color values

HEX#4C7514
RGBrgb(76, 117, 20)
HSLhsl(85, 71%, 27%)
HSVhsv(85, 83%, 46%)
CMYKcmyk(35%, 0%, 82.9%, 54.1%)
CIE-LABlab(44.67, -29.74, 44.71)
CIE-LCHlch(44.67, 53.70, 123.63°)
OKLaboklab(51.31% -0.0847 0.0985)
OKLCHoklch(51.31% 0.13 130.7)
XYZxyz(9.4680, 14.3092, 2.9248)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7514 #3D1475
analogous
#756E14 #4C7514 #1B7514
triadic
#4C7514 #144C75 #75144C
tetradic
#4C7514 #14756E #3D1475 #75141B
square
#4C7514 #14756E #3D1475 #75141B
split-complementary
#4C7514 #141B75 #6E1475
monochromatic
#111A04 #2A410B #4C7514 #6EA91D #8FDA29

Accessibility & contrast

On white

5.44
#4C7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4C7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7514
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7514#FFFFFF#000000##FFFFFF
##4C75141.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#4E7063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c7514;
/* rgb */ color: rgb(76, 117, 20);
/* oklch */ color: oklch(51.3% 0.130 130.7);
Tailwind
colors: {
  custom: {
    50: '#829d5b',
    500: '#4c7514',
    950: '#000000',
  },
}
SCSS
$custom: #4c7514;
$custom-light: #829d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7514",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 85.361,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51306,
    "c": 0.12989,
    "h": 130.7
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#4C7514
secondary
#6A3AAB
accent
#3AEE86
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7514

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

Preview Lab → · Contrast checker → · Palette generator →

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