#4C851A#4C851A

#4C851A is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.6% C 0.147 H 134.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4C851A
RGBrgb(76, 133, 26)
HSLhsl(92, 67%, 31%)
HSVhsv(92, 80%, 52%)
CMYKcmyk(42.9%, 0%, 80.5%, 47.8%)
CIE-LABlab(49.96, -36.62, 47.70)
CIE-LCHlch(49.96, 60.14, 127.52°)
OKLaboklab(55.64% -0.1028 0.1058)
OKLCHoklch(55.64% 0.148 134.2)
XYZxyz(11.5543, 18.3855, 3.9170)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C851A #531A85
analogous
#81851A #4C851A #1A851D
triadic
#4C851A #1A4C85 #851A4C
tetradic
#4C851A #1A8185 #531A85 #851D1A
square
#4C851A #1A8185 #531A85 #851D1A
split-complementary
#4C851A #1D1A85 #851A81
monochromatic
#111F06 #2F5210 #4C851A #69B824 #88DA40

Accessibility & contrast

On white

4.49
#4C851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4C851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C851A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C851A#FFFFFF#000000##000000
##4C851A1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#4B8071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c851a;
/* rgb */ color: rgb(76, 133, 26);
/* oklch */ color: oklch(55.6% 0.147 134.2);
Tailwind
colors: {
  custom: {
    50: '#84a960',
    500: '#4c851a',
    950: '#000000',
  },
}
SCSS
$custom: #4c851a;
$custom-light: #84a960;
$custom-dark: #000000;
JSON
{
  "hex": "#4c851a",
  "rgb": {
    "r": 76,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 91.963,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55639,
    "c": 0.1475,
    "h": 134.2
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#4C851A
secondary
#8142B8
accent
#3EEA9A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4C851A

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

Preview Lab → · Contrast checker → · Palette generator →

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