#4C712D#4C712D

#4C712D is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.5% C 0.106 H 132.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4C712D
RGBrgb(76, 113, 45)
HSLhsl(93, 43%, 31%)
HSVhsv(93, 60%, 44%)
CMYKcmyk(32.7%, 0%, 60.2%, 55.7%)
CIE-LABlab(43.56, -25.84, 33.02)
CIE-LCHlch(43.56, 41.93, 128.04°)
OKLaboklab(50.46% -0.0719 0.0775)
OKLCHoklch(50.46% 0.106 132.9)
XYZxyz(9.3591, 13.5359, 4.6017)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C712D #522D71
analogous
#6E712D #4C712D #2D7130
triadic
#4C712D #2D4C71 #712D4C
tetradic
#4C712D #2D6E71 #522D71 #71302D
square
#4C712D #2D6E71 #522D71 #71302D
split-complementary
#4C712D #302D71 #712D6E
monochromatic
#11190A #2F451C #4C712D #699D3E #88BE5B

Accessibility & contrast

On white

5.66
#4C712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4C712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C712D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C712D#FFFFFF#000000##FFFFFF
##4C712D1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756926
Deuteranopia (green-blind)
#706632
Tritanopia (blue-blind)
#4D6D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c712d;
/* rgb */ color: rgb(76, 113, 45);
/* oklch */ color: oklch(50.5% 0.106 132.9);
Tailwind
colors: {
  custom: {
    50: '#809a68',
    500: '#4c712d',
    950: '#000000',
  },
}
SCSS
$custom: #4c712d;
$custom-light: #809a68;
$custom-dark: #000000;
JSON
{
  "hex": "#4c712d",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 92.647,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.10571,
    "h": 132.9
  },
  "luminance": 0.13536
}

Semantic roles & 50–950 ramp

primary
#4C712D
secondary
#8057A3
accent
#55D399
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4C712D

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

Preview Lab → · Contrast checker → · Palette generator →

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