#4C762D#4C762D

#4C762D is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.113 H 134.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4C762D
RGBrgb(76, 118, 45)
HSLhsl(95, 45%, 32%)
HSVhsv(95, 62%, 46%)
CMYKcmyk(35.6%, 0%, 61.9%, 53.7%)
CIE-LABlab(45.20, -28.27, 34.89)
CIE-LCHlch(45.20, 44.91, 129.01°)
OKLaboklab(51.79% -0.0786 0.0815)
OKLCHoklch(51.79% 0.113 134)
XYZxyz(9.9324, 14.6824, 4.7928)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C762D #572D76
analogous
#71762D #4C762D #2D7633
triadic
#4C762D #2D4C76 #762D4C
tetradic
#4C762D #2D7176 #572D76 #76332D
square
#4C762D #2D7176 #572D76 #76332D
split-complementary
#4C762D #332D76 #762D71
monochromatic
#131D0B #2F4A1C #4C762D #69A23E #87C15C

Accessibility & contrast

On white

5.33
#4C762D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4C762D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C762D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C762D#FFFFFF#000000##FFFFFF
##4C762D1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D25
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#4C7266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c762d;
/* rgb */ color: rgb(76, 118, 45);
/* oklch */ color: oklch(51.8% 0.113 134.0);
Tailwind
colors: {
  custom: {
    50: '#819e69',
    500: '#4c762d',
    950: '#000000',
  },
}
SCSS
$custom: #4c762d;
$custom-light: #819e69;
$custom-dark: #000000;
JSON
{
  "hex": "#4c762d",
  "rgb": {
    "r": 76,
    "g": 118,
    "b": 45
  },
  "hsl": {
    "h": 94.521,
    "s": 44.785,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.11322,
    "h": 134
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#4C762D
secondary
#8557A7
accent
#53D49E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4C762D

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

Preview Lab → · Contrast checker → · Palette generator →

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