#4C751A#4C751A

#4C751A is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.127 H 131.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4C751A
RGBrgb(76, 117, 26)
HSLhsl(87, 64%, 28%)
HSVhsv(87, 78%, 46%)
CMYKcmyk(35%, 0%, 77.8%, 54.1%)
CIE-LABlab(44.71, -29.40, 42.68)
CIE-LCHlch(44.71, 51.83, 124.56°)
OKLaboklab(51.34% -0.0833 0.0952)
OKLCHoklch(51.34% 0.127 131.2)
XYZxyz(9.5282, 14.3333, 3.2417)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C751A #431A75
analogous
#75701A #4C751A #1E751A
triadic
#4C751A #1A4C75 #751A4C
tetradic
#4C751A #1A7570 #431A75 #751A1E
square
#4C751A #1A7570 #431A75 #751A1E
split-complementary
#4C751A #1A1E75 #701A75
monochromatic
#101906 #2B430F #4C751A #6DA725 #8CD337

Accessibility & contrast

On white

5.43
#4C751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4C751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C751A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C751A#FFFFFF#000000##FFFFFF
##4C751A1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C07
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#4E7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c751a;
/* rgb */ color: rgb(76, 117, 26);
/* oklch */ color: oklch(51.3% 0.127 131.2);
Tailwind
colors: {
  custom: {
    50: '#829d5e',
    500: '#4c751a',
    950: '#000000',
  },
}
SCSS
$custom: #4c751a;
$custom-light: #829d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c751a",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 87.033,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51344,
    "c": 0.12653,
    "h": 131.2
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#4C751A
secondary
#7041AA
accent
#41E78C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C751A

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

Preview Lab → · Contrast checker → · Palette generator →

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