#4C8D10#4C8D10

#4C8D10 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.162 H 134.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4C8D10
RGBrgb(76, 141, 16)
HSLhsl(91, 80%, 31%)
HSVhsv(91, 89%, 55%)
CMYKcmyk(46.1%, 0%, 88.7%, 44.7%)
CIE-LABlab(52.53, -40.47, 52.76)
CIE-LCHlch(52.53, 66.50, 127.49°)
OKLaboklab(57.74% -0.1137 0.1149)
OKLCHoklch(57.74% 0.162 134.7)
XYZxyz(12.5986, 20.6229, 3.8069)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D10 #51108D
analogous
#8A8D10 #4C8D10 #108D12
triadic
#4C8D10 #104C8D #8D104C
tetradic
#4C8D10 #108A8D #51108D #8D1210
square
#4C8D10 #108A8D #51108D #8D1210
split-complementary
#4C8D10 #12108D #8D108A
monochromatic
#111F04 #2E560A #4C8D10 #6AC416 #88E730

Accessibility & contrast

On white

4.10
#4C8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4C8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D10
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D10#FFFFFF#000000##000000
##4C8D101.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#4A8777
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c8d10;
/* rgb */ color: rgb(76, 141, 16);
/* oklch */ color: oklch(57.7% 0.162 134.7);
Tailwind
colors: {
  custom: {
    50: '#85af5e',
    500: '#4c8d10',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d10;
$custom-light: #85af5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d10",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 91.2,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.16166,
    "h": 134.7
  },
  "luminance": 0.20624
}

Semantic roles & 50–950 ramp

primary
#4C8D10
secondary
#7F37C2
accent
#32F698
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8D10

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

Preview Lab → · Contrast checker → · Palette generator →

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