#4C7013#4C7013

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

Color values

HEX#4C7013
RGBrgb(76, 112, 19)
HSLhsl(83, 71%, 26%)
HSVhsv(83, 83%, 44%)
CMYKcmyk(32.1%, 0%, 83%, 56.1%)
CIE-LABlab(43.02, -27.42, 43.51)
CIE-LCHlch(43.02, 51.43, 122.21°)
OKLaboklab(49.96% -0.0785 0.0958)
OKLCHoklch(49.96% 0.124 129.3)
XYZxyz(8.8922, 13.1716, 2.6898)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7013 #371370
analogous
#706513 #4C7013 #1D7013
triadic
#4C7013 #134C70 #70134C
tetradic
#4C7013 #137065 #371370 #70131D
square
#4C7013 #137065 #371370 #70131D
split-complementary
#4C7013 #131D70 #651370
monochromatic
#121A04 #283C0A #4C7013 #70A41C #93D925

Accessibility & contrast

On white

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

On black

3.63
#4C7013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C7013#FFFFFF#000000##FFFFFF
##4C70131.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c7013;
/* rgb */ color: rgb(76, 112, 19);
/* oklch */ color: oklch(50.0% 0.124 129.3);
Tailwind
colors: {
  custom: {
    50: '#82995a',
    500: '#4c7013',
    950: '#000000',
  },
}
SCSS
$custom: #4c7013;
$custom-light: #82995a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7013",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 83.226,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49957,
    "c": 0.12383,
    "h": 129.3
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

primary
#4C7013
secondary
#6338A7
accent
#3AEE80
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7013

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

Preview Lab → · Contrast checker → · Palette generator →

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