#4D761F#4D761F

#4D761F is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.124 H 131.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4D761F
RGBrgb(77, 118, 31)
HSLhsl(88, 58%, 29%)
HSVhsv(88, 74%, 46%)
CMYKcmyk(34.7%, 0%, 73.7%, 53.7%)
CIE-LABlab(45.13, -29.13, 41.17)
CIE-LCHlch(45.13, 50.44, 125.28°)
OKLaboklab(51.71% -0.0822 0.0929)
OKLCHoklch(51.71% 0.124 131.5)
XYZxyz(9.7862, 14.6332, 3.6049)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D761F #481F76
analogous
#76741F #4D761F #22761F
triadic
#4D761F #1F4D76 #761F4D
tetradic
#4D761F #1F7674 #481F76 #761F22
square
#4D761F #1F7674 #481F76 #761F22
split-complementary
#4D761F #1F2276 #741F76
monochromatic
#101806 #2D4612 #4D761F #6DA62C #8CCD42

Accessibility & contrast

On white

5.35
#4D761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4D761F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D761F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D761F#FFFFFF#000000##FFFFFF
##4D761F1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D11
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#4E7165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d761f;
/* rgb */ color: rgb(77, 118, 31);
/* oklch */ color: oklch(51.7% 0.124 131.5);
Tailwind
colors: {
  custom: {
    50: '#829e61',
    500: '#4d761f',
    950: '#000000',
  },
}
SCSS
$custom: #4d761f;
$custom-light: #829e61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d761f",
  "rgb": {
    "r": 77,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 88.276,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51713,
    "c": 0.12404,
    "h": 131.5
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#4D761F
secondary
#7647AA
accent
#46E28F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D761F

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

Preview Lab → · Contrast checker → · Palette generator →

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