#4C841B#4C841B

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

Color values

HEX#4C841B
RGBrgb(76, 132, 27)
HSLhsl(92, 66%, 31%)
HSVhsv(92, 80%, 52%)
CMYKcmyk(42.4%, 0%, 79.5%, 48.2%)
CIE-LABlab(49.64, -36.13, 47.07)
CIE-LCHlch(49.64, 59.34, 127.51°)
OKLaboklab(55.38% -0.1014 0.1046)
OKLCHoklch(55.38% 0.146 134.1)
XYZxyz(11.4294, 18.1176, 3.9315)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C841B #531B84
analogous
#80841B #4C841B #1B841E
triadic
#4C841B #1B4C84 #841B4C
tetradic
#4C841B #1B8084 #531B84 #841E1B
square
#4C841B #1B8084 #531B84 #841E1B
split-complementary
#4C841B #1E1B84 #841B80
monochromatic
#111E06 #2F5111 #4C841B #69B725 #88D841

Accessibility & contrast

On white

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

On black

4.62
#4C841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C841B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C841B#FFFFFF#000000##000000
##4C841B1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#4B7F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c841b;
/* rgb */ color: rgb(76, 132, 27);
/* oklch */ color: oklch(55.4% 0.146 134.1);
Tailwind
colors: {
  custom: {
    50: '#83a860',
    500: '#4c841b',
    950: '#000000',
  },
}
SCSS
$custom: #4c841b;
$custom-light: #83a860;
$custom-dark: #000000;
JSON
{
  "hex": "#4c841b",
  "rgb": {
    "r": 76,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 92,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55377,
    "c": 0.14568,
    "h": 134.1
  },
  "luminance": 0.18118
}

Semantic roles & 50–950 ramp

primary
#4C841B
secondary
#8143B7
accent
#3FE99A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C841B

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

Preview Lab → · Contrast checker → · Palette generator →

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