#4C8310#4C8310

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

Color values

HEX#4C8310
RGBrgb(76, 131, 16)
HSLhsl(89, 78%, 29%)
HSVhsv(89, 88%, 51%)
CMYKcmyk(42%, 0%, 87.8%, 48.6%)
CIE-LABlab(49.26, -36.23, 49.93)
CIE-LCHlch(49.26, 61.69, 125.97°)
OKLaboklab(55.05% -0.1024 0.1089)
OKLCHoklch(55.05% 0.149 133.2)
XYZxyz(11.1901, 17.8059, 3.3374)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8310 #471083
analogous
#838110 #4C8310 #128310
triadic
#4C8310 #104C83 #83104C
tetradic
#4C8310 #108381 #471083 #831012
square
#4C8310 #108381 #471083 #831012
split-complementary
#4C8310 #101283 #811083
monochromatic
#101B03 #2C4C09 #4C8310 #6CBA17 #8BE529

Accessibility & contrast

On white

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

On black

4.56
#4C8310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C8310#FFFFFF#000000##FFFFFF
##4C83101.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#81741F
Tritanopia (blue-blind)
#4C7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c8310;
/* rgb */ color: rgb(76, 131, 16);
/* oklch */ color: oklch(55.1% 0.149 133.2);
Tailwind
colors: {
  custom: {
    50: '#84a75c',
    500: '#4c8310',
    950: '#000000',
  },
}
SCSS
$custom: #4c8310;
$custom-light: #84a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8310",
  "rgb": {
    "r": 76,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 88.696,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.14945,
    "h": 133.2
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#4C8310
secondary
#7536B9
accent
#33F590
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C8310

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

Preview Lab → · Contrast checker → · Palette generator →

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