#4C8F1C#4C8F1C

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

Color values

HEX#4C8F1C
RGBrgb(76, 143, 28)
HSLhsl(95, 67%, 34%)
HSVhsv(95, 80%, 56%)
CMYKcmyk(46.9%, 0%, 80.4%, 43.9%)
CIE-LABlab(53.24, -40.74, 50.14)
CIE-LCHlch(53.24, 64.61, 129.10°)
OKLaboklab(58.33% -0.1138 0.1112)
OKLCHoklch(58.33% 0.159 135.7)
XYZxyz(13.0122, 21.2644, 4.5172)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F1C #5F1C8F
analogous
#858F1C #4C8F1C #1C8F26
triadic
#4C8F1C #1C4C8F #8F1C4C
tetradic
#4C8F1C #1C858F #5F1C8F #8F261C
square
#4C8F1C #1C858F #5F1C8F #8F261C
split-complementary
#4C8F1C #261C8F #8F1C85
monochromatic
#162908 #315C12 #4C8F1C #67C226 #87DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8F1C#FFFFFF#000000##000000
##4C8F1C1.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)
#8C7D29
Tritanopia (blue-blind)
#4A897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f1c;
/* rgb */ color: rgb(76, 143, 28);
/* oklch */ color: oklch(58.3% 0.159 135.7);
Tailwind
colors: {
  custom: {
    50: '#85b062',
    500: '#4c8f1c',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f1c;
$custom-light: #85b062;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f1c",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 94.957,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.15907,
    "h": 135.7
  },
  "luminance": 0.21265
}

Semantic roles & 50–950 ramp

primary
#4C8F1C
secondary
#8D49BE
accent
#3EEAA2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4C8F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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