#4C831A#4C831A

#4C831A is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.1% C 0.145 H 133.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4C831A
RGBrgb(76, 131, 26)
HSLhsl(91, 67%, 31%)
HSVhsv(91, 80%, 51%)
CMYKcmyk(42%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.31, -35.75, 47.08)
CIE-LCHlch(49.31, 59.12, 127.21°)
OKLaboklab(55.1% -0.1005 0.1045)
OKLCHoklch(55.1% 0.145 133.9)
XYZxyz(11.2830, 17.8431, 3.8266)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C831A #511A83
analogous
#80831A #4C831A #1A831D
triadic
#4C831A #1A4C83 #831A4C
tetradic
#4C831A #1A8083 #511A83 #831D1A
square
#4C831A #1A8083 #511A83 #831D1A
split-complementary
#4C831A #1D1A83 #831A80
monochromatic
#111D06 #2E5010 #4C831A #6AB624 #88D93F

Accessibility & contrast

On white

4.60
#4C831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C831A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C831A#FFFFFF#000000##FFFFFF
##4C831A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#4C7E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c831a;
/* rgb */ color: rgb(76, 131, 26);
/* oklch */ color: oklch(55.1% 0.145 133.9);
Tailwind
colors: {
  custom: {
    50: '#83a760',
    500: '#4c831a',
    950: '#000000',
  },
}
SCSS
$custom: #4c831a;
$custom-light: #83a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4c831a",
  "rgb": {
    "r": 76,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 91.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55103,
    "c": 0.14493,
    "h": 133.9
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#4C831A
secondary
#7F42B7
accent
#3EEA98
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C831A

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

Preview Lab → · Contrast checker → · Palette generator →

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