#4C702A#4C702A

#4C702A is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.107 H 132.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4C702A
RGBrgb(76, 112, 42)
HSLhsl(91, 45%, 30%)
HSVhsv(91, 63%, 44%)
CMYKcmyk(32.1%, 0%, 62.5%, 56.1%)
CIE-LABlab(43.20, -25.66, 34.11)
CIE-LCHlch(43.20, 42.69, 126.95°)
OKLaboklab(50.16% -0.0717 0.0795)
OKLCHoklch(50.16% 0.107 132.1)
XYZxyz(9.1925, 13.2917, 4.2713)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C702A #4E2A70
analogous
#6F702A #4C702A #2A702B
triadic
#4C702A #2A4C70 #702A4C
tetradic
#4C702A #2A6F70 #4E2A70 #702B2A
square
#4C702A #2A6F70 #4E2A70 #702B2A
split-complementary
#4C702A #2B2A70 #702A6F
monochromatic
#101709 #2E4319 #4C702A #6A9D3B #89BF55

Accessibility & contrast

On white

5.74
#4C702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4C702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C702A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C702A#FFFFFF#000000##FFFFFF
##4C702A1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756822
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#4D6C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c702a;
/* rgb */ color: rgb(76, 112, 42);
/* oklch */ color: oklch(50.2% 0.107 132.1);
Tailwind
colors: {
  custom: {
    50: '#819966',
    500: '#4c702a',
    950: '#000000',
  },
}
SCSS
$custom: #4c702a;
$custom-light: #819966;
$custom-dark: #000000;
JSON
{
  "hex": "#4c702a",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 90.857,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5016,
    "c": 0.10704,
    "h": 132.1
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#4C702A
secondary
#7C54A2
accent
#53D596
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4C702A

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

Preview Lab → · Contrast checker → · Palette generator →

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