#4F821D#4F821D

#4F821D is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.140 H 133.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4F821D
RGBrgb(79, 130, 29)
HSLhsl(90, 64%, 31%)
HSVhsv(90, 78%, 51%)
CMYKcmyk(39.2%, 0%, 77.7%, 49%)
CIE-LABlab(49.15, -34.03, 45.95)
CIE-LCHlch(49.15, 57.18, 126.52°)
OKLaboklab(55.02% -0.0958 0.1025)
OKLCHoklch(55.02% 0.14 133.1)
XYZxyz(11.4287, 17.7157, 3.9795)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F821D #501D82
analogous
#81821D #4F821D #1D821D
triadic
#4F821D #1D4F82 #821D4F
tetradic
#4F821D #1D8182 #501D82 #821D1D
square
#4F821D #1D8182 #501D82 #821D1D
split-complementary
#4F821D #1D1D82 #821D81
monochromatic
#121E07 #315012 #4F821D #6DB428 #8CD544

Accessibility & contrast

On white

4.62
#4F821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4F821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F821D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F821D#FFFFFF#000000##FFFFFF
##4F821D1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887706
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#4F7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f821d;
/* rgb */ color: rgb(79, 130, 29);
/* oklch */ color: oklch(55.0% 0.140 133.1);
Tailwind
colors: {
  custom: {
    50: '#85a661',
    500: '#4f821d',
    950: '#000000',
  },
}
SCSS
$custom: #4f821d;
$custom-light: #85a661;
$custom-dark: #000000;
JSON
{
  "hex": "#4f821d",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 90.297,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.14032,
    "h": 133.1
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#4F821D
secondary
#7E46B5
accent
#41E795
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4F821D

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

Preview Lab → · Contrast checker → · Palette generator →

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