#4C831D#4C831D

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

Color values

HEX#4C831D
RGBrgb(76, 131, 29)
HSLhsl(92, 64%, 31%)
HSVhsv(92, 78%, 51%)
CMYKcmyk(42%, 0%, 77.9%, 48.6%)
CIE-LABlab(49.32, -35.57, 46.07)
CIE-LCHlch(49.32, 58.20, 127.67°)
OKLaboklab(55.12% -0.0998 0.1028)
OKLCHoklch(55.12% 0.143 134.1)
XYZxyz(11.3184, 17.8572, 4.0126)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C831D #541D83
analogous
#7F831D #4C831D #1D8321
triadic
#4C831D #1D4C83 #831D4C
tetradic
#4C831D #1D7F83 #541D83 #83211D
square
#4C831D #1D7F83 #541D83 #83211D
split-complementary
#4C831D #211D83 #831D7F
monochromatic
#121F07 #2F5112 #4C831D #69B528 #88D645

Accessibility & contrast

On white

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

On black

4.57
#4C831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C831D#FFFFFF#000000##FFFFFF
##4C831D1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887806
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#4B7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c831d;
/* rgb */ color: rgb(76, 131, 29);
/* oklch */ color: oklch(55.1% 0.143 134.1);
Tailwind
colors: {
  custom: {
    50: '#83a761',
    500: '#4c831d',
    950: '#000000',
  },
}
SCSS
$custom: #4c831d;
$custom-light: #83a761;
$custom-dark: #000000;
JSON
{
  "hex": "#4c831d",
  "rgb": {
    "r": 76,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 92.353,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.14326,
    "h": 134.1
  },
  "luminance": 0.17858
}

Semantic roles & 50–950 ramp

primary
#4C831D
secondary
#8246B6
accent
#41E79A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C831D

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

Preview Lab → · Contrast checker → · Palette generator →

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