#4A772F#4A772F

#4A772F is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.0% C 0.114 H 135.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4A772F
RGBrgb(74, 119, 47)
HSLhsl(98, 43%, 33%)
HSVhsv(98, 61%, 47%)
CMYKcmyk(37.8%, 0%, 60.5%, 53.3%)
CIE-LABlab(45.43, -29.28, 34.15)
CIE-LCHlch(45.43, 44.98, 130.61°)
OKLaboklab(51.97% -0.0811 0.0801)
OKLCHoklch(51.97% 0.114 135.4)
XYZxyz(9.9337, 14.8543, 5.0325)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A772F #5C2F77
analogous
#6E772F #4A772F #2F7738
triadic
#4A772F #2F4A77 #772F4A
tetradic
#4A772F #2F6E77 #5C2F77 #77382F
square
#4A772F #2F6E77 #5C2F77 #77382F
split-complementary
#4A772F #382F77 #772F6E
monochromatic
#131F0C #2F4B1E #4A772F #65A340 #84C060

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A772F#FFFFFF#000000##FFFFFF
##4A772F1.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)
#7B6E28
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#497367
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4a772f;
/* rgb */ color: rgb(74, 119, 47);
/* oklch */ color: oklch(52.0% 0.114 135.4);
Tailwind
colors: {
  custom: {
    50: '#809e6a',
    500: '#4a772f',
    950: '#000000',
  },
}
SCSS
$custom: #4a772f;
$custom-light: #809e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a772f",
  "rgb": {
    "r": 74,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 97.5,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.114,
    "h": 135.4
  },
  "luminance": 0.14855
}

Semantic roles & 50–950 ramp

primary
#4A772F
secondary
#8A5BA7
accent
#55D3A4
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A772F

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

Preview Lab → · Contrast checker → · Palette generator →

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