#4C8F15#4C8F15

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

Color values

HEX#4C8F15
RGBrgb(76, 143, 21)
HSLhsl(93, 74%, 32%)
HSVhsv(93, 85%, 56%)
CMYKcmyk(46.9%, 0%, 85.3%, 43.9%)
CIE-LABlab(53.21, -41.09, 52.14)
CIE-LCHlch(53.21, 66.39, 128.24°)
OKLaboklab(58.29% -0.1151 0.1143)
OKLCHoklch(58.29% 0.162 135.2)
XYZxyz(12.9380, 21.2348, 4.1263)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F15 #58158F
analogous
#898F15 #4C8F15 #158F1B
triadic
#4C8F15 #154C8F #8F154C
tetradic
#4C8F15 #15898F #58158F #8F1B15
square
#4C8F15 #15898F #58158F #8F1B15
split-complementary
#4C8F15 #1B158F #8F1589
monochromatic
#132405 #305A0D #4C8F15 #68C41D #87E23C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C8F15#FFFFFF#000000##000000
##4C8F151.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)
#958200
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#4A8979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f15;
/* rgb */ color: rgb(76, 143, 21);
/* oklch */ color: oklch(58.3% 0.162 135.2);
Tailwind
colors: {
  custom: {
    50: '#85b060',
    500: '#4c8f15',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f15;
$custom-light: #85b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f15",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 92.951,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58295,
    "c": 0.16223,
    "h": 135.2
  },
  "luminance": 0.21236
}

Semantic roles & 50–950 ramp

primary
#4C8F15
secondary
#863EC2
accent
#37F19D
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4C8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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