#4C702B#4C702B

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

Color values

HEX#4C702B
RGBrgb(76, 112, 43)
HSLhsl(91, 45%, 30%)
HSVhsv(91, 62%, 44%)
CMYKcmyk(32.1%, 0%, 61.6%, 56.1%)
CIE-LABlab(43.21, -25.56, 33.63)
CIE-LCHlch(43.21, 42.24, 127.23°)
OKLaboklab(50.17% -0.0713 0.0786)
OKLCHoklch(50.17% 0.106 132.2)
XYZxyz(9.2106, 13.2990, 4.3667)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C702B #4F2B70
analogous
#6E702B #4C702B #2B702C
triadic
#4C702B #2B4C70 #702B4C
tetradic
#4C702B #2B6E70 #4F2B70 #702C2B
square
#4C702B #2B6E70 #4F2B70 #702C2B
split-complementary
#4C702B #2C2B70 #702B6E
monochromatic
#101809 #2E441A #4C702B #6A9C3C #88BE57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C702B#FFFFFF#000000##FFFFFF
##4C702B1.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)
#756824
Deuteranopia (green-blind)
#6F6530
Tritanopia (blue-blind)
#4D6C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c702b;
/* rgb */ color: rgb(76, 112, 43);
/* oklch */ color: oklch(50.2% 0.106 132.2);
Tailwind
colors: {
  custom: {
    50: '#809967',
    500: '#4c702b',
    950: '#000000',
  },
}
SCSS
$custom: #4c702b;
$custom-light: #809967;
$custom-dark: #000000;
JSON
{
  "hex": "#4c702b",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 91.304,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.1061,
    "h": 132.2
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#4C702B
secondary
#7D55A2
accent
#54D497
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4C702B

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

Preview Lab → · Contrast checker → · Palette generator →

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