#4C8F1A#4C8F1A

#4C8F1A is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.3% C 0.160 H 135.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C8F1A
RGBrgb(76, 143, 26)
HSLhsl(94, 69%, 33%)
HSVhsv(94, 82%, 56%)
CMYKcmyk(46.9%, 0%, 81.8%, 43.9%)
CIE-LABlab(53.23, -40.85, 50.75)
CIE-LCHlch(53.23, 65.15, 128.83°)
OKLaboklab(58.32% -0.1142 0.1121)
OKLCHoklch(58.32% 0.16 135.5)
XYZxyz(12.9891, 21.2552, 4.3953)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F1A #5D1A8F
analogous
#868F1A #4C8F1A #1A8F22
triadic
#4C8F1A #1A4C8F #8F1A4C
tetradic
#4C8F1A #1A868F #5D1A8F #8F221A
square
#4C8F1A #1A868F #5D1A8F #8F221A
split-complementary
#4C8F1A #221A8F #8F1A86
monochromatic
#152707 #305B11 #4C8F1A #68C323 #87DD46

Accessibility & contrast

On white

4.00
#4C8F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4C8F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F1A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F1A#FFFFFF#000000##000000
##4C8F1A1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#4A897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f1a;
/* rgb */ color: rgb(76, 143, 26);
/* oklch */ color: oklch(58.3% 0.160 135.5);
Tailwind
colors: {
  custom: {
    50: '#85b062',
    500: '#4c8f1a',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f1a;
$custom-light: #85b062;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f1a",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 94.359,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5832,
    "c": 0.16005,
    "h": 135.5
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#4C8F1A
secondary
#8B46BF
accent
#3CECA1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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