#4C841F#4C841F

#4C841F is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.4% C 0.143 H 134.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4C841F
RGBrgb(76, 132, 31)
HSLhsl(93, 62%, 32%)
HSVhsv(93, 77%, 52%)
CMYKcmyk(42.4%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.66, -35.88, 45.68)
CIE-LCHlch(49.66, 58.08, 128.15°)
OKLaboklab(55.4% -0.1005 0.1023)
OKLCHoklch(55.4% 0.143 134.5)
XYZxyz(11.4788, 18.1373, 4.1921)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C841F #571F84
analogous
#7F841F #4C841F #1F8424
triadic
#4C841F #1F4C84 #841F4C
tetradic
#4C841F #1F7F84 #571F84 #84241F
square
#4C841F #1F7F84 #571F84 #84241F
split-complementary
#4C841F #241F84 #841F7F
monochromatic
#132108 #2F5213 #4C841F #69B62B #87D449

Accessibility & contrast

On white

4.54
#4C841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4C841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C841F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C841F#FFFFFF#000000##000000
##4C841F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#827429
Tritanopia (blue-blind)
#4B7F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c841f;
/* rgb */ color: rgb(76, 132, 31);
/* oklch */ color: oklch(55.4% 0.143 134.5);
Tailwind
colors: {
  custom: {
    50: '#83a862',
    500: '#4c841f',
    950: '#000000',
  },
}
SCSS
$custom: #4c841f;
$custom-light: #83a862;
$custom-dark: #000000;
JSON
{
  "hex": "#4c841f",
  "rgb": {
    "r": 76,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 93.267,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55404,
    "c": 0.14339,
    "h": 134.5
  },
  "luminance": 0.18138
}

Semantic roles & 50–950 ramp

primary
#4C841F
secondary
#8548B7
accent
#43E59D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C841F

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

Preview Lab → · Contrast checker → · Palette generator →

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