#4D851A#4D851A

#4D851A is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.7% C 0.147 H 133.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4D851A
RGBrgb(77, 133, 26)
HSLhsl(91, 67%, 31%)
HSVhsv(91, 80%, 52%)
CMYKcmyk(42.1%, 0%, 80.5%, 47.8%)
CIE-LABlab(50.01, -36.27, 47.77)
CIE-LCHlch(50.01, 59.97, 127.21°)
OKLaboklab(55.69% -0.1019 0.1059)
OKLCHoklch(55.69% 0.147 133.9)
XYZxyz(11.6343, 18.4268, 3.9208)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D851A #521A85
analogous
#82851A #4D851A #1A851C
triadic
#4D851A #1A4D85 #851A4D
tetradic
#4D851A #1A8285 #521A85 #851C1A
square
#4D851A #1A8285 #521A85 #851C1A
split-complementary
#4D851A #1C1A85 #851A82
monochromatic
#121F06 #2F5210 #4D851A #6BB824 #89DA40

Accessibility & contrast

On white

4.48
#4D851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4D851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D851A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D851A#FFFFFF#000000##000000
##4D851A1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#4D7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d851a;
/* rgb */ color: rgb(77, 133, 26);
/* oklch */ color: oklch(55.7% 0.147 133.9);
Tailwind
colors: {
  custom: {
    50: '#84a960',
    500: '#4d851a',
    950: '#000000',
  },
}
SCSS
$custom: #4d851a;
$custom-light: #84a960;
$custom-dark: #000000;
JSON
{
  "hex": "#4d851a",
  "rgb": {
    "r": 77,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 91.402,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.14696,
    "h": 133.9
  },
  "luminance": 0.18427
}

Semantic roles & 50–950 ramp

primary
#4D851A
secondary
#8042B8
accent
#3EEA98
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D851A

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

Preview Lab → · Contrast checker → · Palette generator →

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