#4A7522#4A7522

#4A7522 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.122 H 132.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4A7522
RGBrgb(74, 117, 34)
HSLhsl(91, 55%, 30%)
HSVhsv(91, 71%, 46%)
CMYKcmyk(36.8%, 0%, 70.9%, 54.1%)
CIE-LABlab(44.65, -29.60, 39.37)
CIE-LCHlch(44.65, 49.25, 126.94°)
OKLaboklab(51.29% -0.083 0.0896)
OKLCHoklch(51.29% 0.122 132.8)
XYZxyz(9.4739, 14.2935, 3.7728)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7522 #4D2275
analogous
#747522 #4A7522 #227523
triadic
#4A7522 #224A75 #75224A
tetradic
#4A7522 #227475 #4D2275 #752322
square
#4A7522 #227475 #4D2275 #752322
split-complementary
#4A7522 #232275 #752274
monochromatic
#0F1807 #2C4614 #4A7522 #68A430 #86CA48

Accessibility & contrast

On white

5.44
#4A7522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4A7522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7522
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7522#FFFFFF#000000##FFFFFF
##4A75221.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C16
Deuteranopia (green-blind)
#746829
Tritanopia (blue-blind)
#4B7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a7522;
/* rgb */ color: rgb(74, 117, 34);
/* oklch */ color: oklch(51.3% 0.122 132.8);
Tailwind
colors: {
  custom: {
    50: '#809d62',
    500: '#4a7522',
    950: '#000000',
  },
}
SCSS
$custom: #4a7522;
$custom-light: #809d62;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7522",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 91.084,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.12216,
    "h": 132.8
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#4A7522
secondary
#7B4BA8
accent
#49DE97
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #4A7522

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

Preview Lab → · Contrast checker → · Palette generator →

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