#4C8D13#4C8D13

#4C8D13 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.8% C 0.161 H 134.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4C8D13
RGBrgb(76, 141, 19)
HSLhsl(92, 76%, 31%)
HSVhsv(92, 87%, 55%)
CMYKcmyk(46.1%, 0%, 86.5%, 44.7%)
CIE-LABlab(52.54, -40.35, 52.07)
CIE-LCHlch(52.54, 65.87, 127.78°)
OKLaboklab(57.75% -0.1132 0.1139)
OKLCHoklch(57.75% 0.161 134.8)
XYZxyz(12.6226, 20.6325, 3.9333)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D13 #54138D
analogous
#898D13 #4C8D13 #138D17
triadic
#4C8D13 #134C8D #8D134C
tetradic
#4C8D13 #13898D #54138D #8D1713
square
#4C8D13 #13898D #54138D #8D1713
split-complementary
#4C8D13 #17138D #8D1389
monochromatic
#122104 #2F570C #4C8D13 #69C31A #88E436

Accessibility & contrast

On white

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

On black

5.13
#4C8D13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D13
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D13#FFFFFF#000000##000000
##4C8D131.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c8d13;
/* rgb */ color: rgb(76, 141, 19);
/* oklch */ color: oklch(57.8% 0.161 134.8);
Tailwind
colors: {
  custom: {
    50: '#85af5f',
    500: '#4c8d13',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d13;
$custom-light: #85af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d13",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 19
  },
  "hsl": {
    "h": 91.967,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.16059,
    "h": 134.8
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

primary
#4C8D13
secondary
#823BC1
accent
#35F39A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4C8D13

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

Preview Lab → · Contrast checker → · Palette generator →

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