#4C9526#4C9526

#4C9526 is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.0% C 0.161 H 137.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4C9526
RGBrgb(76, 149, 38)
HSLhsl(99, 59%, 37%)
HSVhsv(99, 74%, 58%)
CMYKcmyk(49%, 0%, 74.5%, 41.6%)
CIE-LABlab(55.25, -42.56, 48.62)
CIE-LCHlch(55.25, 64.62, 131.19°)
OKLaboklab(60% -0.118 0.1095)
OKLCHoklch(60% 0.161 137.1)
XYZxyz(14.0774, 23.1704, 5.5639)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C9526 #6F2695
analogous
#849526 #4C9526 #269537
triadic
#4C9526 #264C95 #95264C
tetradic
#4C9526 #268495 #6F2695 #953726
square
#4C9526 #268495 #6F2695 #953726
split-complementary
#4C9526 #372695 #952684
monochromatic
#1A330D #33641A #4C9526 #65C632 #88D65F

Accessibility & contrast

On white

3.73
#4C9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4C9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C9526
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C9526#FFFFFF#000000##000000
##4C95261.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8811
Deuteranopia (green-blind)
#908231
Tritanopia (blue-blind)
#48907F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c9526;
/* rgb */ color: rgb(76, 149, 38);
/* oklch */ color: oklch(60.0% 0.161 137.1);
Tailwind
colors: {
  custom: {
    50: '#85b568',
    500: '#4c9526',
    950: '#000000',
  },
}
SCSS
$custom: #4c9526;
$custom-light: #85b568;
$custom-dark: #000000;
JSON
{
  "hex": "#4c9526",
  "rgb": {
    "r": 76,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 99.459,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.16099,
    "h": 137.1
  },
  "luminance": 0.23171
}

Semantic roles & 50–950 ramp

primary
#4C9526
secondary
#9B5BBB
accent
#45E3AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4C9526

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

Preview Lab → · Contrast checker → · Palette generator →

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