#4C831B#4C831B

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

Color values

HEX#4C831B
RGBrgb(76, 131, 27)
HSLhsl(92, 66%, 31%)
HSVhsv(92, 79%, 51%)
CMYKcmyk(42%, 0%, 79.4%, 48.6%)
CIE-LABlab(49.31, -35.70, 46.75)
CIE-LCHlch(49.31, 58.82, 127.36°)
OKLaboklab(55.11% -0.1003 0.1039)
OKLCHoklch(55.11% 0.144 134)
XYZxyz(11.2944, 17.8476, 3.8865)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C831B #521B83
analogous
#80831B #4C831B #1B831E
triadic
#4C831B #1B4C83 #831B4C
tetradic
#4C831B #1B8083 #521B83 #831E1B
square
#4C831B #1B8083 #521B83 #831E1B
split-complementary
#4C831B #1E1B83 #831B80
monochromatic
#111E06 #2F5011 #4C831B #69B625 #88D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C831B#FFFFFF#000000##FFFFFF
##4C831B1.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)
#887801
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#4C7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c831b;
/* rgb */ color: rgb(76, 131, 27);
/* oklch */ color: oklch(55.1% 0.144 134.0);
Tailwind
colors: {
  custom: {
    50: '#83a760',
    500: '#4c831b',
    950: '#000000',
  },
}
SCSS
$custom: #4c831b;
$custom-light: #83a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4c831b",
  "rgb": {
    "r": 76,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 91.731,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55109,
    "c": 0.1444,
    "h": 134
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#4C831B
secondary
#8043B6
accent
#3FE999
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C831B

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

Preview Lab → · Contrast checker → · Palette generator →

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