#4D772D#4D772D

#4D772D is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.114 H 133.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4D772D
RGBrgb(77, 119, 45)
HSLhsl(94, 45%, 32%)
HSVhsv(94, 62%, 47%)
CMYKcmyk(35.3%, 0%, 62.2%, 53.3%)
CIE-LABlab(45.58, -28.36, 35.34)
CIE-LCHlch(45.58, 45.32, 128.75°)
OKLaboklab(52.12% -0.0789 0.0824)
OKLCHoklch(52.12% 0.114 133.8)
XYZxyz(10.1309, 14.9605, 4.8360)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D772D #572D77
analogous
#72772D #4D772D #2D7732
triadic
#4D772D #2D4D77 #772D4D
tetradic
#4D772D #2D7277 #572D77 #77322D
square
#4D772D #2D7277 #572D77 #77322D
split-complementary
#4D772D #322D77 #772D72
monochromatic
#141E0B #304B1C #4D772D #6AA33E #88C25D

Accessibility & contrast

On white

5.26
#4D772D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4D772D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D772D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D772D#FFFFFF#000000##FFFFFF
##4D772D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E25
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#4D7267
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d772d;
/* rgb */ color: rgb(77, 119, 45);
/* oklch */ color: oklch(52.1% 0.114 133.8);
Tailwind
colors: {
  custom: {
    50: '#829e69',
    500: '#4d772d',
    950: '#000000',
  },
}
SCSS
$custom: #4d772d;
$custom-light: #829e69;
$custom-dark: #000000;
JSON
{
  "hex": "#4d772d",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 94.054,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52122,
    "c": 0.11414,
    "h": 133.8
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#4D772D
secondary
#8558A8
accent
#53D59D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4D772D

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

Preview Lab → · Contrast checker → · Palette generator →

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