#4C8F23#4C8F23

#4C8F23 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.155 H 136.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4C8F23
RGBrgb(76, 143, 35)
HSLhsl(97, 61%, 35%)
HSVhsv(97, 76%, 56%)
CMYKcmyk(46.9%, 0%, 75.5%, 43.9%)
CIE-LABlab(53.28, -40.30, 47.77)
CIE-LCHlch(53.28, 62.50, 130.15°)
OKLaboklab(58.38% -0.1121 0.1073)
OKLCHoklch(58.38% 0.155 136.3)
XYZxyz(13.1060, 21.3019, 5.0109)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8F23 #66238F
analogous
#828F23 #4C8F23 #238F30
triadic
#4C8F23 #234C8F #8F234C
tetradic
#4C8F23 #23828F #66238F #8F3023
square
#4C8F23 #23828F #66238F #8F3023
split-complementary
#4C8F23 #30238F #8F2382
monochromatic
#182D0B #325E17 #4C8F23 #66C02F #87D657

Accessibility & contrast

On white

3.99
#4C8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4C8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8F23
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8F23#FFFFFF#000000##000000
##4C8F231.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#498A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c8f23;
/* rgb */ color: rgb(76, 143, 35);
/* oklch */ color: oklch(58.4% 0.155 136.3);
Tailwind
colors: {
  custom: {
    50: '#84b066',
    500: '#4c8f23',
    950: '#000000',
  },
}
SCSS
$custom: #4c8f23;
$custom-light: #84b066;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8f23",
  "rgb": {
    "r": 76,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 97.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.15518,
    "h": 136.3
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#4C8F23
secondary
#9354BA
accent
#44E4A7
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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