#4C7015#4C7015

#4C7015 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.123 H 129.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4C7015
RGBrgb(76, 112, 21)
HSLhsl(84, 68%, 26%)
HSVhsv(84, 81%, 44%)
CMYKcmyk(32.1%, 0%, 81.2%, 56.1%)
CIE-LABlab(43.03, -27.31, 42.86)
CIE-LCHlch(43.03, 50.82, 122.51°)
OKLaboklab(49.97% -0.078 0.0948)
OKLCHoklch(49.97% 0.123 129.5)
XYZxyz(8.9100, 13.1787, 2.7836)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7015 #391570
analogous
#706615 #4C7015 #1E7015
triadic
#4C7015 #154C70 #70154C
tetradic
#4C7015 #157066 #391570 #70151E
square
#4C7015 #157066 #391570 #70151E
split-complementary
#4C7015 #151E70 #661570
monochromatic
#111A05 #293C0B #4C7015 #6FA41F #92D729

Accessibility & contrast

On white

5.78
#4C7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4C7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7015
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7015#FFFFFF#000000##FFFFFF
##4C70151.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#4E6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c7015;
/* rgb */ color: rgb(76, 112, 21);
/* oklch */ color: oklch(50.0% 0.123 129.5);
Tailwind
colors: {
  custom: {
    50: '#82995b',
    500: '#4c7015',
    950: '#000000',
  },
}
SCSS
$custom: #4c7015;
$custom-light: #82995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7015",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 83.736,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49969,
    "c": 0.12276,
    "h": 129.5
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#4C7015
secondary
#653BA6
accent
#3DEB82
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7015

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

Preview Lab → · Contrast checker → · Palette generator →

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