#4C831C#4C831C

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

Color values

HEX#4C831C
RGBrgb(76, 131, 28)
HSLhsl(92, 65%, 31%)
HSVhsv(92, 79%, 51%)
CMYKcmyk(42%, 0%, 78.6%, 48.6%)
CIE-LABlab(49.32, -35.63, 46.42)
CIE-LCHlch(49.32, 58.52, 127.51°)
OKLaboklab(55.12% -0.1 0.1034)
OKLCHoklch(55.12% 0.144 134.1)
XYZxyz(11.3062, 17.8524, 3.9485)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C831C #531C83
analogous
#7F831C #4C831C #1C831F
triadic
#4C831C #1C4C83 #831C4C
tetradic
#4C831C #1C7F83 #531C83 #831F1C
square
#4C831C #1C7F83 #531C83 #831F1C
split-complementary
#4C831C #1F1C83 #831C7F
monochromatic
#111E06 #2F5111 #4C831C #69B527 #88D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4c831c;
/* rgb */ color: rgb(76, 131, 28);
/* oklch */ color: oklch(55.1% 0.144 134.1);
Tailwind
colors: {
  custom: {
    50: '#83a761',
    500: '#4c831c',
    950: '#000000',
  },
}
SCSS
$custom: #4c831c;
$custom-light: #83a761;
$custom-dark: #000000;
JSON
{
  "hex": "#4c831c",
  "rgb": {
    "r": 76,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 92.039,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55115,
    "c": 0.14384,
    "h": 134.1
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#4C831C
secondary
#8145B6
accent
#40E89A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C831C

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

Preview Lab → · Contrast checker → · Palette generator →

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