#4A7620#4A7620

#4A7620 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.125 H 132.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4A7620
RGBrgb(74, 118, 32)
HSLhsl(91, 57%, 29%)
HSVhsv(91, 73%, 46%)
CMYKcmyk(37.3%, 0%, 72.9%, 53.7%)
CIE-LABlab(44.96, -30.23, 40.54)
CIE-LCHlch(44.96, 50.57, 126.71°)
OKLaboklab(51.54% -0.0849 0.0917)
OKLCHoklch(51.54% 0.125 132.8)
XYZxyz(9.5630, 14.5166, 3.6643)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7620 #4C2076
analogous
#757620 #4A7620 #207621
triadic
#4A7620 #204A76 #76204A
tetradic
#4A7620 #207576 #4C2076 #762120
square
#4A7620 #207576 #4C2076 #762120
split-complementary
#4A7620 #212076 #762075
monochromatic
#0F1807 #2C4613 #4A7620 #68A62D #87CC44

Accessibility & contrast

On white

5.38
#4A7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4A7620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7620
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7620#FFFFFF#000000##FFFFFF
##4A76201.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#4B7165
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a7620;
/* rgb */ color: rgb(74, 118, 32);
/* oklch */ color: oklch(51.5% 0.125 132.8);
Tailwind
colors: {
  custom: {
    50: '#809e61',
    500: '#4a7620',
    950: '#000000',
  },
}
SCSS
$custom: #4a7620;
$custom-light: #809e61;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7620",
  "rgb": {
    "r": 74,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 90.698,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.12502,
    "h": 132.8
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#4A7620
secondary
#7A48A9
accent
#47E196
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A7620

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

Preview Lab → · Contrast checker → · Palette generator →

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