#4C8223#4C8223

#4C8223 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.9% C 0.138 H 134.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4C8223
RGBrgb(76, 130, 35)
HSLhsl(94, 58%, 32%)
HSVhsv(94, 73%, 51%)
CMYKcmyk(41.5%, 0%, 73.1%, 49%)
CIE-LABlab(49.03, -34.71, 43.51)
CIE-LCHlch(49.03, 55.66, 128.58°)
OKLaboklab(54.9% -0.097 0.0984)
OKLCHoklch(54.9% 0.138 134.6)
XYZxyz(11.2663, 17.6225, 4.3976)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8223 #592382
analogous
#7C8223 #4C8223 #238229
triadic
#4C8223 #234C82 #82234C
tetradic
#4C8223 #237C82 #592382 #822923
square
#4C8223 #237C82 #592382 #822923
split-complementary
#4C8223 #292382 #82237C
monochromatic
#142209 #305216 #4C8223 #68B230 #87D050

Accessibility & contrast

On white

4.64
#4C8223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4C8223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8223
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8223#FFFFFF#000000##FFFFFF
##4C82231.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#4B7D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c8223;
/* rgb */ color: rgb(76, 130, 35);
/* oklch */ color: oklch(54.9% 0.138 134.6);
Tailwind
colors: {
  custom: {
    50: '#83a764',
    500: '#4c8223',
    950: '#000000',
  },
}
SCSS
$custom: #4c8223;
$custom-light: #83a764;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8223",
  "rgb": {
    "r": 76,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 94.105,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.549,
    "c": 0.13815,
    "h": 134.6
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#4C8223
secondary
#874DB3
accent
#47E19E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C8223

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

Preview Lab → · Contrast checker → · Palette generator →

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