#4A8522#4A8522

#4A8522 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.144 H 135.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4A8522
RGBrgb(74, 133, 34)
HSLhsl(96, 59%, 33%)
HSVhsv(96, 74%, 52%)
CMYKcmyk(44.4%, 0%, 74.4%, 47.8%)
CIE-LABlab(49.91, -36.81, 44.76)
CIE-LCHlch(49.91, 57.95, 129.43°)
OKLaboklab(55.59% -0.1026 0.1009)
OKLCHoklch(55.59% 0.144 135.5)
XYZxyz(11.5000, 18.3457, 4.4482)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8522 #5D2285
analogous
#7B8522 #4A8522 #22852C
triadic
#4A8522 #224A85 #85224A
tetradic
#4A8522 #227B85 #5D2285 #852C22
square
#4A8522 #227B85 #5D2285 #852C22
split-complementary
#4A8522 #2C2285 #85227B
monochromatic
#142409 #2F5416 #4A8522 #65B62E #84D24F

Accessibility & contrast

On white

4.50
#4A8522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4A8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8522
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8522#FFFFFF#000000##000000
##4A85221.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#488072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a8522;
/* rgb */ color: rgb(74, 133, 34);
/* oklch */ color: oklch(55.6% 0.144 135.5);
Tailwind
colors: {
  custom: {
    50: '#82a964',
    500: '#4a8522',
    950: '#000000',
  },
}
SCSS
$custom: #4a8522;
$custom-light: #82a964;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8522",
  "rgb": {
    "r": 74,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 95.758,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5559,
    "c": 0.14389,
    "h": 135.5
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#4A8522
secondary
#8B4DB6
accent
#45E2A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8522

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

Preview Lab → · Contrast checker → · Palette generator →

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