#4C7515#4C7515

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

Color values

HEX#4C7515
RGBrgb(76, 117, 21)
HSLhsl(86, 70%, 27%)
HSVhsv(86, 82%, 46%)
CMYKcmyk(35%, 0%, 82.1%, 54.1%)
CIE-LABlab(44.68, -29.69, 44.40)
CIE-LCHlch(44.68, 53.41, 123.77°)
OKLaboklab(51.31% -0.0845 0.098)
OKLCHoklch(51.31% 0.129 130.8)
XYZxyz(9.4771, 14.3129, 2.9727)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7515 #3E1575
analogous
#756E15 #4C7515 #1C7515
triadic
#4C7515 #154C75 #75154C
tetradic
#4C7515 #15756E #3E1575 #75151C
square
#4C7515 #15756E #3E1575 #75151C
split-complementary
#4C7515 #151C75 #6E1575
monochromatic
#111A05 #2A410C #4C7515 #6EA91E #8FD92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7515#FFFFFF#000000##FFFFFF
##4C75151.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: #4c7515;
/* rgb */ color: rgb(76, 117, 21);
/* oklch */ color: oklch(51.3% 0.129 130.8);
Tailwind
colors: {
  custom: {
    50: '#829d5c',
    500: '#4c7515',
    950: '#000000',
  },
}
SCSS
$custom: #4c7515;
$custom-light: #829d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7515",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 85.625,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.12938,
    "h": 130.8
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#4C7515
secondary
#6B3BAB
accent
#3BEC87
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7515

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

Preview Lab → · Contrast checker → · Palette generator →

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