#4D821B#4D821B

#4D821B is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.9% C 0.143 H 133.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4D821B
RGBrgb(77, 130, 27)
HSLhsl(91, 66%, 31%)
HSVhsv(91, 79%, 51%)
CMYKcmyk(40.8%, 0%, 79.2%, 49%)
CIE-LABlab(49.03, -34.89, 46.51)
CIE-LCHlch(49.03, 58.14, 126.88°)
OKLaboklab(54.9% -0.0981 0.1034)
OKLCHoklch(54.9% 0.143 133.5)
XYZxyz(11.2408, 17.6216, 3.8457)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D821B #501B82
analogous
#80821B #4D821B #1B821D
triadic
#4D821B #1B4D82 #821B4D
tetradic
#4D821B #1B8082 #501B82 #821D1B
square
#4D821B #1B8082 #501B82 #821D1B
split-complementary
#4D821B #1D1B82 #821B80
monochromatic
#111D06 #2F4F10 #4D821B #6BB526 #89D740

Accessibility & contrast

On white

4.64
#4D821B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4D821B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D821B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D821B#FFFFFF#000000##FFFFFF
##4D821B1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877702
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#4D7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d821b;
/* rgb */ color: rgb(77, 130, 27);
/* oklch */ color: oklch(54.9% 0.143 133.5);
Tailwind
colors: {
  custom: {
    50: '#84a760',
    500: '#4d821b',
    950: '#000000',
  },
}
SCSS
$custom: #4d821b;
$custom-light: #84a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4d821b",
  "rgb": {
    "r": 77,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 90.874,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54896,
    "c": 0.14255,
    "h": 133.5
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#4D821B
secondary
#7E43B6
accent
#3FE996
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D821B

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

Preview Lab → · Contrast checker → · Palette generator →

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