#4A8722#4A8722

#4A8722 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.1% C 0.147 H 135.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A8722
RGBrgb(74, 135, 34)
HSLhsl(96, 60%, 33%)
HSVhsv(96, 75%, 53%)
CMYKcmyk(45.2%, 0%, 74.8%, 47.1%)
CIE-LABlab(50.57, -37.67, 45.42)
CIE-LCHlch(50.57, 59.01, 129.67°)
OKLaboklab(56.13% -0.1049 0.1022)
OKLCHoklch(56.13% 0.147 135.7)
XYZxyz(11.7765, 18.8986, 4.5403)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8722 #5F2287
analogous
#7C8722 #4A8722 #22872D
triadic
#4A8722 #224A87 #87224A
tetradic
#4A8722 #227C87 #5F2287 #872D22
square
#4A8722 #227C87 #5F2287 #872D22
split-complementary
#4A8722 #2D2287 #87227C
monochromatic
#142509 #2F5616 #4A8722 #65B82E #84D350

Accessibility & contrast

On white

4.39
#4A8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4A8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8722
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8722#FFFFFF#000000##000000
##4A87221.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#488273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a8722;
/* rgb */ color: rgb(74, 135, 34);
/* oklch */ color: oklch(56.1% 0.147 135.7);
Tailwind
colors: {
  custom: {
    50: '#82aa64',
    500: '#4a8722',
    950: '#000000',
  },
}
SCSS
$custom: #4a8722;
$custom-light: #82aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8722",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 96.238,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56127,
    "c": 0.14652,
    "h": 135.7
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#4A8722
secondary
#8D4EB7
accent
#45E3A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8722

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

Preview Lab → · Contrast checker → · Palette generator →

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