#4D851B#4D851B

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

Color values

HEX#4D851B
RGBrgb(77, 133, 27)
HSLhsl(92, 66%, 31%)
HSVhsv(92, 80%, 52%)
CMYKcmyk(42.1%, 0%, 79.7%, 47.8%)
CIE-LABlab(50.02, -36.21, 47.44)
CIE-LCHlch(50.02, 59.68, 127.35°)
OKLaboklab(55.7% -0.1017 0.1053)
OKLCHoklch(55.7% 0.146 134)
XYZxyz(11.6457, 18.4314, 3.9807)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D851B #531B85
analogous
#82851B #4D851B #1B851E
triadic
#4D851B #1B4D85 #851B4D
tetradic
#4D851B #1B8285 #531B85 #851E1B
square
#4D851B #1B8285 #531B85 #851E1B
split-complementary
#4D851B #1E1B85 #851B82
monochromatic
#121F06 #305211 #4D851B #6AB825 #89D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D851B#FFFFFF#000000##000000
##4D851B1.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)
#4C8071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d851b;
/* rgb */ color: rgb(77, 133, 27);
/* oklch */ color: oklch(55.7% 0.146 134.0);
Tailwind
colors: {
  custom: {
    50: '#84a961',
    500: '#4d851b',
    950: '#000000',
  },
}
SCSS
$custom: #4d851b;
$custom-light: #84a961;
$custom-dark: #000000;
JSON
{
  "hex": "#4d851b",
  "rgb": {
    "r": 77,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 91.698,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55699,
    "c": 0.14643,
    "h": 134
  },
  "luminance": 0.18432
}

Semantic roles & 50–950 ramp

primary
#4D851B
secondary
#8144B8
accent
#3FE999
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4D851B

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

Preview Lab → · Contrast checker → · Palette generator →

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