#4A772B#4A772B

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

Color values

HEX#4A772B
RGBrgb(74, 119, 43)
HSLhsl(96, 47%, 32%)
HSVhsv(96, 64%, 47%)
CMYKcmyk(37.8%, 0%, 63.9%, 53.3%)
CIE-LABlab(45.39, -29.71, 36.06)
CIE-LCHlch(45.39, 46.72, 129.49°)
OKLaboklab(51.92% -0.0826 0.0838)
OKLCHoklch(51.92% 0.118 134.6)
XYZxyz(9.8567, 14.8235, 4.6269)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A772B #582B77
analogous
#70772B #4A772B #2B7732
triadic
#4A772B #2B4A77 #772B4A
tetradic
#4A772B #2B7077 #582B77 #77322B
square
#4A772B #2B7077 #582B77 #77322B
split-complementary
#4A772B #322B77 #772B70
monochromatic
#121D0B #2E4A1B #4A772B #66A43B #84C359

Accessibility & contrast

On white

5.30
#4A772B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4A772B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A772B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A772B#FFFFFF#000000##FFFFFF
##4A772B1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a772b;
/* rgb */ color: rgb(74, 119, 43);
/* oklch */ color: oklch(51.9% 0.118 134.6);
Tailwind
colors: {
  custom: {
    50: '#809e68',
    500: '#4a772b',
    950: '#000000',
  },
}
SCSS
$custom: #4a772b;
$custom-light: #809e68;
$custom-dark: #000000;
JSON
{
  "hex": "#4a772b",
  "rgb": {
    "r": 74,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 95.526,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.11764,
    "h": 134.6
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#4A772B
secondary
#8755A9
accent
#51D7A0
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A772B

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

Preview Lab → · Contrast checker → · Palette generator →

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