#4A7920#4A7920

#4A7920 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.129 H 133.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4A7920
RGBrgb(74, 121, 32)
HSLhsl(92, 58%, 30%)
HSVhsv(92, 74%, 47%)
CMYKcmyk(38.8%, 0%, 73.6%, 52.5%)
CIE-LABlab(45.95, -31.61, 41.55)
CIE-LCHlch(45.95, 52.21, 127.27°)
OKLaboklab(52.35% -0.0887 0.0939)
OKLCHoklch(52.35% 0.129 133.4)
XYZxyz(9.9220, 15.2344, 3.7840)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7920 #4F2079
analogous
#777920 #4A7920 #207922
triadic
#4A7920 #204A79 #79204A
tetradic
#4A7920 #207779 #4F2079 #792220
square
#4A7920 #207779 #4F2079 #792220
split-complementary
#4A7920 #222079 #792077
monochromatic
#0F1806 #2C4913 #4A7920 #68A92D #86CE45

Accessibility & contrast

On white

5.19
#4A7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4A7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7920
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7920#FFFFFF#000000##FFFFFF
##4A79201.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F11
Deuteranopia (green-blind)
#786B28
Tritanopia (blue-blind)
#4A7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a7920;
/* rgb */ color: rgb(74, 121, 32);
/* oklch */ color: oklch(52.3% 0.129 133.4);
Tailwind
colors: {
  custom: {
    50: '#81a061',
    500: '#4a7920',
    950: '#000000',
  },
}
SCSS
$custom: #4a7920;
$custom-light: #81a061;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7920",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 91.685,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.12913,
    "h": 133.4
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#4A7920
secondary
#7D49AC
accent
#46E198
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4A7920

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

Preview Lab → · Contrast checker → · Palette generator →

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