#4A772D#4A772D

#4A772D is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.116 H 135.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4A772D
RGBrgb(74, 119, 45)
HSLhsl(96, 45%, 32%)
HSVhsv(96, 62%, 47%)
CMYKcmyk(37.8%, 0%, 62.2%, 53.3%)
CIE-LABlab(45.41, -29.50, 35.11)
CIE-LCHlch(45.41, 45.86, 130.04°)
OKLaboklab(51.94% -0.0819 0.082)
OKLCHoklch(51.94% 0.116 135)
XYZxyz(9.8943, 14.8385, 4.8249)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A772D #5A2D77
analogous
#6F772D #4A772D #2D7735
triadic
#4A772D #2D4A77 #772D4A
tetradic
#4A772D #2D6F77 #5A2D77 #77352D
square
#4A772D #2D6F77 #5A2D77 #77352D
split-complementary
#4A772D #352D77 #772D6F
monochromatic
#131E0B #2E4B1C #4A772D #66A33E #84C25D

Accessibility & contrast

On white

5.29
#4A772D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4A772D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A772D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A772D#FFFFFF#000000##FFFFFF
##4A772D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E25
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#497367
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a772d;
/* rgb */ color: rgb(74, 119, 45);
/* oklch */ color: oklch(51.9% 0.116 135.0);
Tailwind
colors: {
  custom: {
    50: '#809e69',
    500: '#4a772d',
    950: '#000000',
  },
}
SCSS
$custom: #4a772d;
$custom-light: #809e69;
$custom-dark: #000000;
JSON
{
  "hex": "#4a772d",
  "rgb": {
    "r": 74,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 96.486,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.11585,
    "h": 135
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#4A772D
secondary
#8958A8
accent
#53D5A2
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A772D

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

Preview Lab → · Contrast checker → · Palette generator →

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