#4C831E#4C831E

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

Color values

HEX#4C831E
RGBrgb(76, 131, 30)
HSLhsl(93, 63%, 32%)
HSVhsv(93, 77%, 51%)
CMYKcmyk(42%, 0%, 77.1%, 48.6%)
CIE-LABlab(49.33, -35.51, 45.72)
CIE-LCHlch(49.33, 57.89, 127.84°)
OKLaboklab(55.13% -0.0995 0.1022)
OKLCHoklch(55.13% 0.143 134.2)
XYZxyz(11.3309, 17.8622, 4.0788)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C831E #551E83
analogous
#7F831E #4C831E #1E8322
triadic
#4C831E #1E4C83 #831E4C
tetradic
#4C831E #1E7F83 #551E83 #83221E
square
#4C831E #1E7F83 #551E83 #83221E
split-complementary
#4C831E #221E83 #831E7F
monochromatic
#121F07 #2F5113 #4C831E #69B529 #87D547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C831E#FFFFFF#000000##FFFFFF
##4C831E1.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)
#887808
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#4B7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c831e;
/* rgb */ color: rgb(76, 131, 30);
/* oklch */ color: oklch(55.1% 0.143 134.2);
Tailwind
colors: {
  custom: {
    50: '#83a762',
    500: '#4c831e',
    950: '#000000',
  },
}
SCSS
$custom: #4c831e;
$custom-light: #83a762;
$custom-dark: #000000;
JSON
{
  "hex": "#4c831e",
  "rgb": {
    "r": 76,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 92.673,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55129,
    "c": 0.14268,
    "h": 134.2
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#4C831E
secondary
#8347B6
accent
#42E69B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C831E

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

Preview Lab → · Contrast checker → · Palette generator →

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