#4A7728#4A7728

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

Color values

HEX#4A7728
RGBrgb(74, 119, 40)
HSLhsl(94, 50%, 31%)
HSVhsv(94, 66%, 47%)
CMYKcmyk(37.8%, 0%, 66.4%, 53.3%)
CIE-LABlab(45.36, -30.00, 37.44)
CIE-LCHlch(45.36, 47.98, 128.71°)
OKLaboklab(51.88% -0.0837 0.0863)
OKLCHoklch(51.88% 0.12 134.1)
XYZxyz(9.8037, 14.8023, 4.3476)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7728 #552877
analogous
#717728 #4A7728 #28772D
triadic
#4A7728 #284A77 #77284A
tetradic
#4A7728 #287177 #552877 #772D28
square
#4A7728 #287177 #552877 #772D28
split-complementary
#4A7728 #2D2877 #772871
monochromatic
#111B09 #2E4919 #4A7728 #66A537 #85C554

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7728#FFFFFF#000000##FFFFFF
##4A77281.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)
#7C6E1E
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#4A7267
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a7728;
/* rgb */ color: rgb(74, 119, 40);
/* oklch */ color: oklch(51.9% 0.120 134.1);
Tailwind
colors: {
  custom: {
    50: '#809e66',
    500: '#4a7728',
    950: '#000000',
  },
}
SCSS
$custom: #4a7728;
$custom-light: #809e66;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7728",
  "rgb": {
    "r": 74,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 94.177,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51883,
    "c": 0.12022,
    "h": 134.1
  },
  "luminance": 0.14803
}

Semantic roles & 50–950 ramp

primary
#4A7728
secondary
#8352A9
accent
#4FD99E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A7728

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

Preview Lab → · Contrast checker → · Palette generator →

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