#4C7313#4C7313

#4C7313 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.8% C 0.128 H 130.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4C7313
RGBrgb(76, 115, 19)
HSLhsl(84, 72%, 26%)
HSVhsv(84, 83%, 45%)
CMYKcmyk(33.9%, 0%, 83.5%, 54.9%)
CIE-LABlab(44.01, -28.85, 44.42)
CIE-LCHlch(44.01, 52.96, 123.00°)
OKLaboklab(50.76% -0.0824 0.0977)
OKLCHoklch(50.76% 0.128 130.1)
XYZxyz(9.2287, 13.8447, 2.8020)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7313 #3A1373
analogous
#736A13 #4C7313 #1C7313
triadic
#4C7313 #134C73 #73134C
tetradic
#4C7313 #13736A #3A1373 #73131C
square
#4C7313 #13736A #3A1373 #73131C
split-complementary
#4C7313 #131C73 #6A1373
monochromatic
#111A04 #293E0A #4C7313 #6FA81C #91DB25

Accessibility & contrast

On white

5.57
#4C7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4C7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7313
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7313#FFFFFF#000000##FFFFFF
##4C73131.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#4E6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4c7313;
/* rgb */ color: rgb(76, 115, 19);
/* oklch */ color: oklch(50.8% 0.128 130.1);
Tailwind
colors: {
  custom: {
    50: '#829b5a',
    500: '#4c7313',
    950: '#000000',
  },
}
SCSS
$custom: #4c7313;
$custom-light: #829b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7313",
  "rgb": {
    "r": 76,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 84.375,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50763,
    "c": 0.12778,
    "h": 130.1
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#4C7313
secondary
#6638AA
accent
#39EE83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7313

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

Preview Lab → · Contrast checker → · Palette generator →

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