#4A771E#4A771E

#4A771E is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.128 H 132.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4A771E
RGBrgb(74, 119, 30)
HSLhsl(90, 60%, 29%)
HSVhsv(90, 75%, 47%)
CMYKcmyk(37.8%, 0%, 74.8%, 53.3%)
CIE-LABlab(45.28, -30.84, 41.67)
CIE-LCHlch(45.28, 51.84, 126.50°)
OKLaboklab(51.79% -0.0868 0.0938)
OKLCHoklch(51.79% 0.128 132.8)
XYZxyz(9.6551, 14.7428, 3.5650)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A771E #4B1E77
analogous
#77771E #4A771E #1E771E
triadic
#4A771E #1E4A77 #771E4A
tetradic
#4A771E #1E7777 #4B1E77 #771E1E
square
#4A771E #1E7777 #4B1E77 #771E1E
split-complementary
#4A771E #1E1E77 #771E77
monochromatic
#0F1806 #2C4612 #4A771E #68A82A #87CF40

Accessibility & contrast

On white

5.32
#4A771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4A771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A771E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A771E#FFFFFF#000000##FFFFFF
##4A771E1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#4B7266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a771e;
/* rgb */ color: rgb(74, 119, 30);
/* oklch */ color: oklch(51.8% 0.128 132.8);
Tailwind
colors: {
  custom: {
    50: '#819e60',
    500: '#4a771e',
    950: '#000000',
  },
}
SCSS
$custom: #4a771e;
$custom-light: #819e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a771e",
  "rgb": {
    "r": 74,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 90.337,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.12778,
    "h": 132.8
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#4A771E
secondary
#7946AB
accent
#45E395
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A771E

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

Preview Lab → · Contrast checker → · Palette generator →

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