#4A8219#4A8219

#4A8219 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.7% C 0.145 H 134.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4A8219
RGBrgb(74, 130, 25)
HSLhsl(92, 68%, 30%)
HSVhsv(92, 81%, 51%)
CMYKcmyk(43.1%, 0%, 80.8%, 49%)
CIE-LABlab(48.87, -36.09, 46.97)
CIE-LCHlch(48.87, 59.24, 127.54°)
OKLaboklab(54.72% -0.1013 0.1041)
OKLCHoklch(54.72% 0.145 134.2)
XYZxyz(10.9819, 17.4907, 3.7169)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8219 #511982
analogous
#7E8219 #4A8219 #19821C
triadic
#4A8219 #194A82 #82194A
tetradic
#4A8219 #197E82 #511982 #821C19
square
#4A8219 #197E82 #511982 #821C19
split-complementary
#4A8219 #1C1982 #82197E
monochromatic
#101B05 #2D4F0F #4A8219 #67B523 #85D93C

Accessibility & contrast

On white

4.67
#4A8219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4A8219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8219
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8219#FFFFFF#000000##FFFFFF
##4A82191.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#497D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4a8219;
/* rgb */ color: rgb(74, 130, 25);
/* oklch */ color: oklch(54.7% 0.145 134.2);
Tailwind
colors: {
  custom: {
    50: '#82a75f',
    500: '#4a8219',
    950: '#000000',
  },
}
SCSS
$custom: #4a8219;
$custom-light: #82a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8219",
  "rgb": {
    "r": 74,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 92,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54719,
    "c": 0.14527,
    "h": 134.2
  },
  "luminance": 0.17491
}

Semantic roles & 50–950 ramp

primary
#4A8219
secondary
#7F41B6
accent
#3DEB9A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8219

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

Preview Lab → · Contrast checker → · Palette generator →

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