#4C8E23#4C8E23

#4C8E23 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.154 H 136.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4C8E23
RGBrgb(76, 142, 35)
HSLhsl(97, 60%, 35%)
HSVhsv(97, 75%, 56%)
CMYKcmyk(46.5%, 0%, 75.4%, 44.3%)
CIE-LABlab(52.95, -39.88, 47.45)
CIE-LCHlch(52.95, 61.99, 130.05°)
OKLaboklab(58.11% -0.111 0.1066)
OKLCHoklch(58.11% 0.154 136.2)
XYZxyz(12.9565, 21.0030, 4.9611)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8E23 #65238E
analogous
#828E23 #4C8E23 #238E2F
triadic
#4C8E23 #234C8E #8E234C
tetradic
#4C8E23 #23828E #65238E #8E2F23
square
#4C8E23 #23828E #65238E #8E2F23
split-complementary
#4C8E23 #2F238E #8E2382
monochromatic
#172C0B #325D17 #4C8E23 #66BF2F #87D556

Accessibility & contrast

On white

4.04
#4C8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4C8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8E23
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8E23#FFFFFF#000000##000000
##4C8E231.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#498979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8e23;
/* rgb */ color: rgb(76, 142, 35);
/* oklch */ color: oklch(58.1% 0.154 136.2);
Tailwind
colors: {
  custom: {
    50: '#84af66',
    500: '#4c8e23',
    950: '#000000',
  },
}
SCSS
$custom: #4c8e23;
$custom-light: #84af66;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8e23",
  "rgb": {
    "r": 76,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 97.009,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.1539,
    "h": 136.2
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#4C8E23
secondary
#9253B9
accent
#44E4A7
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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