#4C7014#4C7014

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

Color values

HEX#4C7014
RGBrgb(76, 112, 20)
HSLhsl(83, 70%, 26%)
HSVhsv(83, 82%, 44%)
CMYKcmyk(32.1%, 0%, 82.1%, 56.1%)
CIE-LABlab(43.03, -27.36, 43.19)
CIE-LCHlch(43.03, 51.13, 122.36°)
OKLaboklab(49.96% -0.0783 0.0953)
OKLCHoklch(49.96% 0.123 129.4)
XYZxyz(8.9009, 13.1751, 2.7358)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7014 #381470
analogous
#706614 #4C7014 #1E7014
triadic
#4C7014 #144C70 #70144C
tetradic
#4C7014 #147066 #381470 #70141E
square
#4C7014 #147066 #381470 #70141E
split-complementary
#4C7014 #141E70 #661470
monochromatic
#121A05 #293C0B #4C7014 #6FA41D #92D827

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7014#FFFFFF#000000##FFFFFF
##4C70141.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)
#71651E
Tritanopia (blue-blind)
#4E6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c7014;
/* rgb */ color: rgb(76, 112, 20);
/* oklch */ color: oklch(50.0% 0.123 129.4);
Tailwind
colors: {
  custom: {
    50: '#82995a',
    500: '#4c7014',
    950: '#000000',
  },
}
SCSS
$custom: #4c7014;
$custom-light: #82995a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7014",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 83.478,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.1233,
    "h": 129.4
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#4C7014
secondary
#6439A6
accent
#3BED81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7014

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

Preview Lab → · Contrast checker → · Palette generator →

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