#4D831C#4D831C

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

Color values

HEX#4D831C
RGBrgb(77, 131, 28)
HSLhsl(91, 65%, 31%)
HSVhsv(91, 79%, 51%)
CMYKcmyk(41.2%, 0%, 78.6%, 48.6%)
CIE-LABlab(49.37, -35.27, 46.48)
CIE-LCHlch(49.37, 58.35, 127.19°)
OKLaboklab(55.17% -0.0991 0.1035)
OKLCHoklch(55.17% 0.143 133.8)
XYZxyz(11.3863, 17.8936, 3.9523)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D831C #521C83
analogous
#80831C #4D831C #1C831E
triadic
#4D831C #1C4D83 #831C4D
tetradic
#4D831C #1C8083 #521C83 #831E1C
square
#4D831C #1C8083 #521C83 #831E1C
split-complementary
#4D831C #1E1C83 #831C80
monochromatic
#121E06 #2F5111 #4D831C #6BB527 #89D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D831C#FFFFFF#000000##FFFFFF
##4D831C1.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)
#887803
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#4D7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d831c;
/* rgb */ color: rgb(77, 131, 28);
/* oklch */ color: oklch(55.2% 0.143 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a761',
    500: '#4d831c',
    950: '#000000',
  },
}
SCSS
$custom: #4d831c;
$custom-light: #84a761;
$custom-dark: #000000;
JSON
{
  "hex": "#4d831c",
  "rgb": {
    "r": 77,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 91.456,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.14329,
    "h": 133.8
  },
  "luminance": 0.17894
}

Semantic roles & 50–950 ramp

primary
#4D831C
secondary
#8045B6
accent
#40E898
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4D831C

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

Preview Lab → · Contrast checker → · Palette generator →

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