#4C7413#4C7413

#4C7413 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.129 H 130.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4C7413
RGBrgb(76, 116, 19)
HSLhsl(85, 72%, 26%)
HSVhsv(85, 84%, 45%)
CMYKcmyk(34.5%, 0%, 83.6%, 54.5%)
CIE-LABlab(44.34, -29.32, 44.72)
CIE-LCHlch(44.34, 53.47, 123.25°)
OKLaboklab(51.03% -0.0836 0.0983)
OKLCHoklch(51.03% 0.129 130.4)
XYZxyz(9.3434, 14.0740, 2.8402)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7413 #3B1374
analogous
#746C13 #4C7413 #1C7413
triadic
#4C7413 #134C74 #74134C
tetradic
#4C7413 #13746C #3B1374 #74131C
square
#4C7413 #13746C #3B1374 #74131C
split-complementary
#4C7413 #131C74 #6C1374
monochromatic
#111A04 #2A3F0A #4C7413 #6EA91C #91DB26

Accessibility & contrast

On white

5.50
#4C7413 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4C7413 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7413
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7413#FFFFFF#000000##FFFFFF
##4C74131.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#4E6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c7413;
/* rgb */ color: rgb(76, 116, 19);
/* oklch */ color: oklch(51.0% 0.129 130.4);
Tailwind
colors: {
  custom: {
    50: '#829c5b',
    500: '#4c7413',
    950: '#000000',
  },
}
SCSS
$custom: #4c7413;
$custom-light: #829c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7413",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 19
  },
  "hsl": {
    "h": 84.742,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.12908,
    "h": 130.4
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#4C7413
secondary
#6738AA
accent
#39EF84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7413

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

Preview Lab → · Contrast checker → · Palette generator →

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