#4C8523#4C8523

#4C8523 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.7% C 0.142 H 135.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4C8523
RGBrgb(76, 133, 35)
HSLhsl(95, 58%, 33%)
HSVhsv(95, 74%, 52%)
CMYKcmyk(42.9%, 0%, 73.7%, 47.8%)
CIE-LABlab(50.02, -36.03, 44.51)
CIE-LCHlch(50.02, 57.26, 128.99°)
OKLaboklab(55.7% -0.1006 0.1005)
OKLCHoklch(55.7% 0.142 135)
XYZxyz(11.6711, 18.4323, 4.5326)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8523 #5C2385
analogous
#7D8523 #4C8523 #23852B
triadic
#4C8523 #234C85 #85234C
tetradic
#4C8523 #237D85 #5C2385 #852B23
square
#4C8523 #237D85 #5C2385 #852B23
split-complementary
#4C8523 #2B2385 #85237D
monochromatic
#152409 #305516 #4C8523 #68B530 #87D151

Accessibility & contrast

On white

4.48
#4C8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4C8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8523
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8523#FFFFFF#000000##000000
##4C85231.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#4B8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c8523;
/* rgb */ color: rgb(76, 133, 35);
/* oklch */ color: oklch(55.7% 0.142 135.0);
Tailwind
colors: {
  custom: {
    50: '#83a965',
    500: '#4c8523',
    950: '#000000',
  },
}
SCSS
$custom: #4c8523;
$custom-light: #83a965;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8523",
  "rgb": {
    "r": 76,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 94.898,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.14216,
    "h": 135
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#4C8523
secondary
#8A4FB5
accent
#46E2A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C8523

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

Preview Lab → · Contrast checker → · Palette generator →

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