#4D842E#4D842E

#4D842E is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.132 H 136.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4D842E
RGBrgb(77, 132, 46)
HSLhsl(98, 48%, 35%)
HSVhsv(98, 65%, 52%)
CMYKcmyk(41.7%, 0%, 65.2%, 48.2%)
CIE-LABlab(49.83, -34.29, 39.61)
CIE-LCHlch(49.83, 52.39, 130.88°)
OKLaboklab(55.59% -0.0951 0.0916)
OKLCHoklch(55.59% 0.132 136)
XYZxyz(11.8047, 18.2769, 5.4900)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D842E #652E84
analogous
#78842E #4D842E #2E843A
triadic
#4D842E #2E4D84 #842E4D
tetradic
#4D842E #2E7884 #652E84 #843A2E
square
#4D842E #2E7884 #652E84 #843A2E
split-complementary
#4D842E #3A2E84 #842E78
monochromatic
#18290E #33571E #4D842E #67B13E #88C964

Accessibility & contrast

On white

4.51
#4D842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4D842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D842E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D842E#FFFFFF#000000##000000
##4D842E1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897924
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#4B7F72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d842e;
/* rgb */ color: rgb(77, 132, 46);
/* oklch */ color: oklch(55.6% 0.132 136.0);
Tailwind
colors: {
  custom: {
    50: '#83a86b',
    500: '#4d842e',
    950: '#000000',
  },
}
SCSS
$custom: #4d842e;
$custom-light: #83a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d842e",
  "rgb": {
    "r": 77,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 98.372,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55593,
    "c": 0.13204,
    "h": 136
  },
  "luminance": 0.18278
}

Semantic roles & 50–950 ramp

primary
#4D842E
secondary
#925EB0
accent
#50D8A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4D842E

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

Preview Lab → · Contrast checker → · Palette generator →

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