#4A8528#4A8528

#4A8528 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.6% C 0.140 H 136.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4A8528
RGBrgb(74, 133, 40)
HSLhsl(98, 54%, 34%)
HSVhsv(98, 70%, 52%)
CMYKcmyk(44.4%, 0%, 69.9%, 47.8%)
CIE-LABlab(49.96, -36.33, 42.37)
CIE-LCHlch(49.96, 55.81, 130.61°)
OKLaboklab(55.64% -0.1009 0.0967)
OKLCHoklch(55.64% 0.14 136.2)
XYZxyz(11.5943, 18.3834, 4.9445)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8528 #632885
analogous
#798528 #4A8528 #288535
triadic
#4A8528 #284A85 #85284A
tetradic
#4A8528 #287985 #632885 #853528
square
#4A8528 #287985 #632885 #853528
split-complementary
#4A8528 #352885 #852879
monochromatic
#16270C #30561A #4A8528 #64B436 #84CD5A

Accessibility & contrast

On white

4.49
#4A8528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4A8528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8528
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8528#FFFFFF#000000##000000
##4A85281.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1B
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#488072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a8528;
/* rgb */ color: rgb(74, 133, 40);
/* oklch */ color: oklch(55.6% 0.140 136.2);
Tailwind
colors: {
  custom: {
    50: '#82a967',
    500: '#4a8528',
    950: '#000000',
  },
}
SCSS
$custom: #4a8528;
$custom-light: #82a967;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8528",
  "rgb": {
    "r": 74,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 98.065,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55641,
    "c": 0.13975,
    "h": 136.2
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#4A8528
secondary
#9156B3
accent
#4BDDA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8528

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

Preview Lab → · Contrast checker → · Palette generator →

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