#4C8723#4C8723

#4C8723 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.2% C 0.145 H 135.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4C8723
RGBrgb(76, 135, 35)
HSLhsl(95, 59%, 33%)
HSVhsv(95, 74%, 53%)
CMYKcmyk(43.7%, 0%, 74.1%, 47.1%)
CIE-LABlab(50.67, -36.90, 45.17)
CIE-LCHlch(50.67, 58.33, 129.25°)
OKLaboklab(56.24% -0.1029 0.1018)
OKLCHoklch(56.24% 0.145 135.3)
XYZxyz(11.9476, 18.9851, 4.6247)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8723 #5E2387
analogous
#7E8723 #4C8723 #23872C
triadic
#4C8723 #234C87 #87234C
tetradic
#4C8723 #237E87 #5E2387 #872C23
square
#4C8723 #237E87 #5E2387 #872C23
split-complementary
#4C8723 #2C2387 #87237E
monochromatic
#15260A #315616 #4C8723 #67B830 #87D252

Accessibility & contrast

On white

4.38
#4C8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4C8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8723
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8723#FFFFFF#000000##000000
##4C87231.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#4A8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c8723;
/* rgb */ color: rgb(76, 135, 35);
/* oklch */ color: oklch(56.2% 0.145 135.3);
Tailwind
colors: {
  custom: {
    50: '#83aa65',
    500: '#4c8723',
    950: '#000000',
  },
}
SCSS
$custom: #4c8723;
$custom-light: #83aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8723",
  "rgb": {
    "r": 76,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 95.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56238,
    "c": 0.1448,
    "h": 135.3
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#4C8723
secondary
#8C50B6
accent
#46E2A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8723

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

Preview Lab → · Contrast checker → · Palette generator →

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