#4D831B#4D831B

#4D831B is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.144 H 133.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4D831B
RGBrgb(77, 131, 27)
HSLhsl(91, 66%, 31%)
HSVhsv(91, 79%, 51%)
CMYKcmyk(41.2%, 0%, 79.4%, 48.6%)
CIE-LABlab(49.36, -35.33, 46.82)
CIE-LCHlch(49.36, 58.65, 127.04°)
OKLaboklab(55.16% -0.0993 0.104)
OKLCHoklch(55.16% 0.144 133.7)
XYZxyz(11.3745, 17.8889, 3.8903)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D831B #511B83
analogous
#81831B #4D831B #1B831D
triadic
#4D831B #1B4D83 #831B4D
tetradic
#4D831B #1B8183 #511B83 #831D1B
square
#4D831B #1B8183 #511B83 #831D1B
split-complementary
#4D831B #1D1B83 #831B81
monochromatic
#111E06 #2F5011 #4D831B #6BB625 #89D841

Accessibility & contrast

On white

4.59
#4D831B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4D831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D831B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D831B#FFFFFF#000000##FFFFFF
##4D831B1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887801
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#4D7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d831b;
/* rgb */ color: rgb(77, 131, 27);
/* oklch */ color: oklch(55.2% 0.144 133.7);
Tailwind
colors: {
  custom: {
    50: '#84a760',
    500: '#4d831b',
    950: '#000000',
  },
}
SCSS
$custom: #4d831b;
$custom-light: #84a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4d831b",
  "rgb": {
    "r": 77,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 91.154,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.14386,
    "h": 133.7
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#4D831B
secondary
#7F43B6
accent
#3FE997
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D831B

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

Preview Lab → · Contrast checker → · Palette generator →

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