#4C7513#4C7513

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

Color values

HEX#4C7513
RGBrgb(76, 117, 19)
HSLhsl(85, 72%, 27%)
HSVhsv(85, 84%, 46%)
CMYKcmyk(35%, 0%, 83.8%, 54.1%)
CIE-LABlab(44.67, -29.79, 45.02)
CIE-LCHlch(44.67, 53.98, 123.50°)
OKLaboklab(51.3% -0.0849 0.099)
OKLCHoklch(51.3% 0.13 130.6)
XYZxyz(9.4593, 14.3058, 2.8789)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7513 #3C1375
analogous
#756D13 #4C7513 #1B7513
triadic
#4C7513 #134C75 #75134C
tetradic
#4C7513 #13756D #3C1375 #75131B
square
#4C7513 #13756D #3C1375 #75131B
split-complementary
#4C7513 #131B75 #6D1375
monochromatic
#111A04 #2A400A #4C7513 #6EAA1C #90DC27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7513#FFFFFF#000000##FFFFFF
##4C75131.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)
#75691E
Tritanopia (blue-blind)
#4E7063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c7513;
/* rgb */ color: rgb(76, 117, 19);
/* oklch */ color: oklch(51.3% 0.130 130.6);
Tailwind
colors: {
  custom: {
    50: '#829d5b',
    500: '#4c7513',
    950: '#000000',
  },
}
SCSS
$custom: #4c7513;
$custom-light: #829d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7513",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 85.102,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.513,
    "c": 0.13039,
    "h": 130.6
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#4C7513
secondary
#6938AB
accent
#39EF85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7513

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

Preview Lab → · Contrast checker → · Palette generator →

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