#4C8D23#4C8D23

#4C8D23 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.153 H 136.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4C8D23
RGBrgb(76, 141, 35)
HSLhsl(97, 60%, 35%)
HSVhsv(97, 75%, 55%)
CMYKcmyk(46.1%, 0%, 75.2%, 44.7%)
CIE-LABlab(52.63, -39.46, 47.13)
CIE-LCHlch(52.63, 61.47, 129.94°)
OKLaboklab(57.84% -0.1099 0.1059)
OKLCHoklch(57.84% 0.153 136)
XYZxyz(12.8084, 20.7068, 4.9117)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D23 #64238D
analogous
#818D23 #4C8D23 #238D2F
triadic
#4C8D23 #234C8D #8D234C
tetradic
#4C8D23 #23818D #64238D #8D2F23
square
#4C8D23 #23818D #64238D #8D2F23
split-complementary
#4C8D23 #2F238D #8D2381
monochromatic
#172B0B #325C17 #4C8D23 #66BE2F #87D555

Accessibility & contrast

On white

4.08
#4C8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4C8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D23
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D23#FFFFFF#000000##000000
##4C8D231.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#897C2E
Tritanopia (blue-blind)
#498879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d23;
/* rgb */ color: rgb(76, 141, 35);
/* oklch */ color: oklch(57.8% 0.153 136.0);
Tailwind
colors: {
  custom: {
    50: '#84af65',
    500: '#4c8d23',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d23;
$custom-light: #84af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d23",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 96.792,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.15262,
    "h": 136
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#4C8D23
secondary
#9153B9
accent
#44E3A6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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