#4C7414#4C7414

#4C7414 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.129 H 130.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4C7414
RGBrgb(76, 116, 20)
HSLhsl(85, 71%, 27%)
HSVhsv(85, 83%, 45%)
CMYKcmyk(34.5%, 0%, 82.8%, 54.5%)
CIE-LABlab(44.34, -29.27, 44.41)
CIE-LCHlch(44.34, 53.19, 123.39°)
OKLaboklab(51.04% -0.0834 0.0979)
OKLCHoklch(51.04% 0.129 130.4)
XYZxyz(9.3521, 14.0775, 2.8862)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7414 #3C1474
analogous
#746C14 #4C7414 #1C7414
triadic
#4C7414 #144C74 #74144C
tetradic
#4C7414 #14746C #3C1474 #74141C
square
#4C7414 #14746C #3C1474 #74141C
split-complementary
#4C7414 #141C74 #6C1474
monochromatic
#111A05 #2A400B #4C7414 #6EA81D #90DA28

Accessibility & contrast

On white

5.50
#4C7414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4C7414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7414
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7414#FFFFFF#000000##FFFFFF
##4C74141.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#4E6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c7414;
/* rgb */ color: rgb(76, 116, 20);
/* oklch */ color: oklch(51.0% 0.129 130.4);
Tailwind
colors: {
  custom: {
    50: '#829c5b',
    500: '#4c7414',
    950: '#000000',
  },
}
SCSS
$custom: #4c7414;
$custom-light: #829c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7414",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 85,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.12858,
    "h": 130.4
  },
  "luminance": 0.14078
}

Semantic roles & 50–950 ramp

primary
#4C7414
secondary
#693AAA
accent
#3AED85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7414

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

Preview Lab → · Contrast checker → · Palette generator →

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