#4A771D#4A771D

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

Color values

HEX#4A771D
RGBrgb(74, 119, 29)
HSLhsl(90, 61%, 29%)
HSVhsv(90, 76%, 47%)
CMYKcmyk(37.8%, 0%, 75.6%, 53.3%)
CIE-LABlab(45.27, -30.91, 42.06)
CIE-LCHlch(45.27, 52.20, 126.31°)
OKLaboklab(51.78% -0.087 0.0945)
OKLCHoklch(51.78% 0.128 132.7)
XYZxyz(9.6425, 14.7378, 3.4988)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A771D #4A1D77
analogous
#77771D #4A771D #1D771D
triadic
#4A771D #1D4A77 #771D4A
tetradic
#4A771D #1D7777 #4A1D77 #771D1D
square
#4A771D #1D7777 #4A1D77 #771D1D
split-complementary
#4A771D #1D1D77 #771D77
monochromatic
#0F1906 #2B4611 #4A771D #69A829 #87D03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A771D#FFFFFF#000000##FFFFFF
##4A771D1.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)
#7C6D0C
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#4B7266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a771d;
/* rgb */ color: rgb(74, 119, 29);
/* oklch */ color: oklch(51.8% 0.128 132.7);
Tailwind
colors: {
  custom: {
    50: '#819e60',
    500: '#4a771d',
    950: '#000000',
  },
}
SCSS
$custom: #4a771d;
$custom-light: #819e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a771d",
  "rgb": {
    "r": 74,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 90,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.12844,
    "h": 132.7
  },
  "luminance": 0.14738
}

Semantic roles & 50–950 ramp

primary
#4A771D
secondary
#7845AB
accent
#44E494
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A771D

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

Preview Lab → · Contrast checker → · Palette generator →

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