#4D8523#4D8523

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

Color values

HEX#4D8523
RGBrgb(77, 133, 35)
HSLhsl(94, 58%, 33%)
HSVhsv(94, 74%, 52%)
CMYKcmyk(42.1%, 0%, 73.7%, 47.8%)
CIE-LABlab(50.07, -35.68, 44.57)
CIE-LCHlch(50.07, 57.09, 128.68°)
OKLaboklab(55.76% -0.0997 0.1006)
OKLCHoklch(55.76% 0.142 134.7)
XYZxyz(11.7512, 18.4736, 4.5364)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8523 #5B2385
analogous
#7E8523 #4D8523 #23852A
triadic
#4D8523 #234D85 #85234D
tetradic
#4D8523 #237E85 #5B2385 #852A23
square
#4D8523 #237E85 #5B2385 #852A23
split-complementary
#4D8523 #2A2385 #85237E
monochromatic
#152409 #315516 #4D8523 #69B530 #88D151

Accessibility & contrast

On white

4.47
#4D8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8523#FFFFFF#000000##000000
##4D85231.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d8523;
/* rgb */ color: rgb(77, 133, 35);
/* oklch */ color: oklch(55.8% 0.142 134.7);
Tailwind
colors: {
  custom: {
    50: '#84a965',
    500: '#4d8523',
    950: '#000000',
  },
}
SCSS
$custom: #4d8523;
$custom-light: #84a965;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8523",
  "rgb": {
    "r": 77,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 94.286,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.14161,
    "h": 134.7
  },
  "luminance": 0.18474
}

Semantic roles & 50–950 ramp

primary
#4D8523
secondary
#894FB5
accent
#46E29F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8523

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

Preview Lab → · Contrast checker → · Palette generator →

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