#4C761C#4C761C

#4C761C is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.127 H 131.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4C761C
RGBrgb(76, 118, 28)
HSLhsl(88, 62%, 29%)
HSVhsv(88, 76%, 46%)
CMYKcmyk(35.6%, 0%, 76.3%, 53.7%)
CIE-LABlab(45.05, -29.74, 42.26)
CIE-LCHlch(45.05, 51.68, 125.13°)
OKLaboklab(51.63% -0.0841 0.0947)
OKLCHoklch(51.63% 0.127 131.6)
XYZxyz(9.6684, 14.5768, 3.4026)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C761C #461C76
analogous
#76731C #4C761C #1F761C
triadic
#4C761C #1C4C76 #761C4C
tetradic
#4C761C #1C7673 #461C76 #761C1F
square
#4C761C #1C7673 #461C76 #761C1F
split-complementary
#4C761C #1C1F76 #731C76
monochromatic
#101906 #2C4510 #4C761C #6CA728 #8BD13C

Accessibility & contrast

On white

5.36
#4C761C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4C761C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C761C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C761C#FFFFFF#000000##FFFFFF
##4C761C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0B
Deuteranopia (green-blind)
#766925
Tritanopia (blue-blind)
#4D7165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c761c;
/* rgb */ color: rgb(76, 118, 28);
/* oklch */ color: oklch(51.6% 0.127 131.6);
Tailwind
colors: {
  custom: {
    50: '#829e5f',
    500: '#4c761c',
    950: '#000000',
  },
}
SCSS
$custom: #4c761c;
$custom-light: #829e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c761c",
  "rgb": {
    "r": 76,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 88,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.12661,
    "h": 131.6
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#4C761C
secondary
#7344AA
accent
#43E58F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C761C

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

Preview Lab → · Contrast checker → · Palette generator →

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