#4D821C#4D821C

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

Color values

HEX#4D821C
RGBrgb(77, 130, 28)
HSLhsl(91, 65%, 31%)
HSVhsv(91, 78%, 51%)
CMYKcmyk(40.8%, 0%, 78.5%, 49%)
CIE-LABlab(49.04, -34.83, 46.17)
CIE-LCHlch(49.04, 57.83, 127.03°)
OKLaboklab(54.9% -0.0979 0.1028)
OKLCHoklch(54.9% 0.142 133.6)
XYZxyz(11.2526, 17.6263, 3.9077)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D821C #511C82
analogous
#80821C #4D821C #1C821E
triadic
#4D821C #1C4D82 #821C4D
tetradic
#4D821C #1C8082 #511C82 #821E1C
square
#4D821C #1C8082 #511C82 #821E1C
split-complementary
#4D821C #1E1C82 #821C80
monochromatic
#111D06 #2F5011 #4D821C #6BB427 #89D642

Accessibility & contrast

On white

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

On black

4.53
#4D821C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D821C#FFFFFF#000000##FFFFFF
##4D821C1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#4D7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d821c;
/* rgb */ color: rgb(77, 130, 28);
/* oklch */ color: oklch(54.9% 0.142 133.6);
Tailwind
colors: {
  custom: {
    50: '#84a761',
    500: '#4d821c',
    950: '#000000',
  },
}
SCSS
$custom: #4d821c;
$custom-light: #84a761;
$custom-dark: #000000;
JSON
{
  "hex": "#4d821c",
  "rgb": {
    "r": 77,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 91.176,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.14199,
    "h": 133.6
  },
  "luminance": 0.17627
}

Semantic roles & 50–950 ramp

primary
#4D821C
secondary
#7F44B5
accent
#40E897
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D821C

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

Preview Lab → · Contrast checker → · Palette generator →

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