#4C702F#4C702F

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

Color values

HEX#4C702F
RGBrgb(76, 112, 47)
HSLhsl(93, 41%, 31%)
HSVhsv(93, 58%, 44%)
CMYKcmyk(32.1%, 0%, 58%, 56.1%)
CIE-LABlab(43.26, -25.12, 31.65)
CIE-LCHlch(43.26, 40.40, 128.43°)
OKLaboklab(50.22% -0.0698 0.0747)
OKLCHoklch(50.22% 0.102 133)
XYZxyz(9.2876, 13.3298, 4.7723)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C702F #532F70
analogous
#6C702F #4C702F #2F7032
triadic
#4C702F #2F4C70 #702F4C
tetradic
#4C702F #2F6C70 #532F70 #70322F
square
#4C702F #2F6C70 #532F70 #70322F
split-complementary
#4C702F #322F70 #702F6C
monochromatic
#111A0B #2F451D #4C702F #699B41 #88BB5E

Accessibility & contrast

On white

5.73
#4C702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4C702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C702F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C702F#FFFFFF#000000##FFFFFF
##4C702F1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746829
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#4C6C62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c702f;
/* rgb */ color: rgb(76, 112, 47);
/* oklch */ color: oklch(50.2% 0.102 133.0);
Tailwind
colors: {
  custom: {
    50: '#80996a',
    500: '#4c702f',
    950: '#000000',
  },
}
SCSS
$custom: #4c702f;
$custom-light: #80996a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c702f",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 93.231,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.10222,
    "h": 133
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#4C702F
secondary
#815AA1
accent
#57D19A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4C702F

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

Preview Lab → · Contrast checker → · Palette generator →

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