#4D841A#4D841A

#4D841A is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.4% C 0.146 H 133.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4D841A
RGBrgb(77, 132, 26)
HSLhsl(91, 67%, 31%)
HSVhsv(91, 80%, 52%)
CMYKcmyk(41.7%, 0%, 80.3%, 48.2%)
CIE-LABlab(49.68, -35.83, 47.46)
CIE-LCHlch(49.68, 59.46, 127.05°)
OKLaboklab(55.43% -0.1008 0.1052)
OKLCHoklch(55.43% 0.146 133.8)
XYZxyz(11.4981, 18.1543, 3.8754)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D841A #511A84
analogous
#82841A #4D841A #1A841C
triadic
#4D841A #1A4D84 #841A4D
tetradic
#4D841A #1A8284 #511A84 #841C1A
square
#4D841A #1A8284 #511A84 #841C1A
split-complementary
#4D841A #1C1A84 #841A82
monochromatic
#111E06 #2F5110 #4D841A #6BB724 #89D93F

Accessibility & contrast

On white

4.53
#4D841A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4D841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D841A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D841A#FFFFFF#000000##000000
##4D841A1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#4D7F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d841a;
/* rgb */ color: rgb(77, 132, 26);
/* oklch */ color: oklch(55.4% 0.146 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a860',
    500: '#4d841a',
    950: '#000000',
  },
}
SCSS
$custom: #4d841a;
$custom-light: #84a860;
$custom-dark: #000000;
JSON
{
  "hex": "#4d841a",
  "rgb": {
    "r": 77,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 91.132,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55425,
    "c": 0.14568,
    "h": 133.8
  },
  "luminance": 0.18155
}

Semantic roles & 50–950 ramp

primary
#4D841A
secondary
#7F42B8
accent
#3EEA97
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D841A

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

Preview Lab → · Contrast checker → · Palette generator →

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