#4C702D#4C702D

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

Color values

HEX#4C702D
RGBrgb(76, 112, 45)
HSLhsl(92, 43%, 31%)
HSVhsv(92, 60%, 44%)
CMYKcmyk(32.1%, 0%, 59.8%, 56.1%)
CIE-LABlab(43.23, -25.34, 32.65)
CIE-LCHlch(43.23, 41.33, 127.82°)
OKLaboklab(50.2% -0.0706 0.0767)
OKLCHoklch(50.2% 0.104 132.6)
XYZxyz(9.2482, 13.3140, 4.5647)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C702D #512D70
analogous
#6D702D #4C702D #2D702F
triadic
#4C702D #2D4C70 #702D4C
tetradic
#4C702D #2D6D70 #512D70 #702F2D
square
#4C702D #2D6D70 #512D70 #702F2D
split-complementary
#4C702D #2F2D70 #702D6D
monochromatic
#11190A #2E441B #4C702D #6A9C3F #88BD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C702D#FFFFFF#000000##FFFFFF
##4C702D1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746826
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#4D6C61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c702d;
/* rgb */ color: rgb(76, 112, 45);
/* oklch */ color: oklch(50.2% 0.104 132.6);
Tailwind
colors: {
  custom: {
    50: '#809968',
    500: '#4c702d',
    950: '#000000',
  },
}
SCSS
$custom: #4c702d;
$custom-light: #809968;
$custom-dark: #000000;
JSON
{
  "hex": "#4c702d",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 92.239,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.1042,
    "h": 132.6
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

primary
#4C702D
secondary
#7F57A2
accent
#55D299
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4C702D

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

Preview Lab → · Contrast checker → · Palette generator →

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