#4D831F#4D831F

#4D831F is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.142 H 134.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#4D831F
RGBrgb(77, 131, 31)
HSLhsl(92, 62%, 32%)
HSVhsv(92, 76%, 51%)
CMYKcmyk(41.2%, 0%, 76.3%, 48.6%)
CIE-LABlab(49.39, -35.08, 45.42)
CIE-LCHlch(49.39, 57.39, 127.68°)
OKLaboklab(55.19% -0.0984 0.1017)
OKLCHoklch(55.19% 0.142 134)
XYZxyz(11.4240, 17.9087, 4.1508)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D831F #551F83
analogous
#7F831F #4D831F #1F8323
triadic
#4D831F #1F4D83 #831F4D
tetradic
#4D831F #1F7F83 #551F83 #83231F
square
#4D831F #1F7F83 #551F83 #83231F
split-complementary
#4D831F #231F83 #831F7F
monochromatic
#132008 #305213 #4D831F #6AB42B #89D449

Accessibility & contrast

On white

4.58
#4D831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #4D831F
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D831F#FFFFFF#000000##000000
##4D831F1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#4D7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d831f;
/* rgb */ color: rgb(77, 131, 31);
/* oklch */ color: oklch(55.2% 0.142 134.0);
Tailwind
colors: {
  custom: {
    50: '#84a762',
    500: '#4d831f',
    950: '#000000',
  },
}
SCSS
$custom: #4d831f;
$custom-light: #84a762;
$custom-dark: #000000;
JSON
{
  "hex": "#4d831f",
  "rgb": {
    "r": 77,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 92.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55191,
    "c": 0.14153,
    "h": 134
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#4D831F
secondary
#8348B6
accent
#43E59A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4D831F

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

Preview Lab → · Contrast checker → · Palette generator →

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