#4D811B#4D811B

#4D811B is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.141 H 133.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4D811B
RGBrgb(77, 129, 27)
HSLhsl(91, 65%, 31%)
HSVhsv(91, 79%, 51%)
CMYKcmyk(40.3%, 0%, 79.1%, 49.4%)
CIE-LABlab(48.71, -34.45, 46.20)
CIE-LCHlch(48.71, 57.62, 126.71°)
OKLaboklab(54.63% -0.097 0.1027)
OKLCHoklch(54.63% 0.141 133.3)
XYZxyz(11.1085, 17.3569, 3.8016)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D811B #4F1B81
analogous
#80811B #4D811B #1B811C
triadic
#4D811B #1B4D81 #811B4D
tetradic
#4D811B #1B8081 #4F1B81 #811C1B
square
#4D811B #1B8081 #4F1B81 #811C1B
split-complementary
#4D811B #1C1B81 #811B80
monochromatic
#111C06 #2F4E10 #4D811B #6BB426 #8AD73F

Accessibility & contrast

On white

4.70
#4D811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4D811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D811B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D811B#FFFFFF#000000##FFFFFF
##4D811B1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#4D7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d811b;
/* rgb */ color: rgb(77, 129, 27);
/* oklch */ color: oklch(54.6% 0.141 133.3);
Tailwind
colors: {
  custom: {
    50: '#84a660',
    500: '#4d811b',
    950: '#000000',
  },
}
SCSS
$custom: #4d811b;
$custom-light: #84a660;
$custom-dark: #000000;
JSON
{
  "hex": "#4d811b",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 90.588,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54628,
    "c": 0.14126,
    "h": 133.3
  },
  "luminance": 0.17357
}

Semantic roles & 50–950 ramp

primary
#4D811B
secondary
#7D43B5
accent
#3FE896
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D811B

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

Preview Lab → · Contrast checker → · Palette generator →

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