#4C8323#4C8323

#4C8323 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.139 H 134.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4C8323
RGBrgb(76, 131, 35)
HSLhsl(94, 58%, 33%)
HSVhsv(94, 73%, 51%)
CMYKcmyk(42%, 0%, 73.3%, 48.6%)
CIE-LABlab(49.36, -35.15, 43.84)
CIE-LCHlch(49.36, 56.20, 128.72°)
OKLaboklab(55.17% -0.0982 0.0991)
OKLCHoklch(55.17% 0.139 134.7)
XYZxyz(11.3999, 17.8898, 4.4422)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8323 #5A2383
analogous
#7C8323 #4C8323 #23832A
triadic
#4C8323 #234C83 #83234C
tetradic
#4C8323 #237C83 #5A2383 #832A23
square
#4C8323 #237C83 #5A2383 #832A23
split-complementary
#4C8323 #2A2383 #83237C
monochromatic
#142209 #305316 #4C8323 #68B330 #87D050

Accessibility & contrast

On white

4.59
#4C8323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4C8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8323
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8323#FFFFFF#000000##FFFFFF
##4C83231.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#4B7E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c8323;
/* rgb */ color: rgb(76, 131, 35);
/* oklch */ color: oklch(55.2% 0.139 134.7);
Tailwind
colors: {
  custom: {
    50: '#83a764',
    500: '#4c8323',
    950: '#000000',
  },
}
SCSS
$custom: #4c8323;
$custom-light: #83a764;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8323",
  "rgb": {
    "r": 76,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 94.375,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.13949,
    "h": 134.7
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#4C8323
secondary
#884EB4
accent
#47E19F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C8323

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

Preview Lab → · Contrast checker → · Palette generator →

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