#4A821B#4A821B

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

Color values

HEX#4A821B
RGBrgb(74, 130, 27)
HSLhsl(93, 66%, 31%)
HSVhsv(93, 79%, 51%)
CMYKcmyk(43.1%, 0%, 79.2%, 49%)
CIE-LABlab(48.88, -35.98, 46.31)
CIE-LCHlch(48.88, 58.64, 127.84°)
OKLaboklab(54.73% -0.1009 0.103)
OKLCHoklch(54.73% 0.144 134.4)
XYZxyz(11.0043, 17.4996, 3.8346)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A821B #531B82
analogous
#7D821B #4A821B #1B821F
triadic
#4A821B #1B4A82 #821B4A
tetradic
#4A821B #1B7D82 #531B82 #821F1B
square
#4A821B #1B7D82 #531B82 #821F1B
split-complementary
#4A821B #1F1B82 #821B7D
monochromatic
#101D06 #2D4F10 #4A821B #67B526 #85D740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A821B#FFFFFF#000000##FFFFFF
##4A821B1.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)
#877702
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#497D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4a821b;
/* rgb */ color: rgb(74, 130, 27);
/* oklch */ color: oklch(54.7% 0.144 134.4);
Tailwind
colors: {
  custom: {
    50: '#82a760',
    500: '#4a821b',
    950: '#000000',
  },
}
SCSS
$custom: #4a821b;
$custom-light: #82a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4a821b",
  "rgb": {
    "r": 74,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 92.621,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.14419,
    "h": 134.4
  },
  "luminance": 0.175
}

Semantic roles & 50–950 ramp

primary
#4A821B
secondary
#8143B6
accent
#3FE99B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A821B

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

Preview Lab → · Contrast checker → · Palette generator →

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