#4D8525#4D8525

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

Color values

HEX#4D8525
RGBrgb(77, 133, 37)
HSLhsl(95, 56%, 33%)
HSVhsv(95, 72%, 52%)
CMYKcmyk(42.1%, 0%, 72.2%, 47.8%)
CIE-LABlab(50.08, -35.52, 43.79)
CIE-LCHlch(50.08, 56.39, 129.05°)
OKLaboklab(55.77% -0.0991 0.0992)
OKLCHoklch(55.77% 0.14 135)
XYZxyz(11.7818, 18.4858, 4.6972)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8525 #5D2585
analogous
#7D8525 #4D8525 #25852D
triadic
#4D8525 #254D85 #85254D
tetradic
#4D8525 #257D85 #5D2585 #852D25
square
#4D8525 #257D85 #5D2585 #852D25
split-complementary
#4D8525 #2D2585 #85257D
monochromatic
#16250A #315518 #4D8525 #69B532 #88D055

Accessibility & contrast

On white

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

On black

4.70
#4D8525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8525
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8525#FFFFFF#000000##000000
##4D85251.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A16
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#4C8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d8525;
/* rgb */ color: rgb(77, 133, 37);
/* oklch */ color: oklch(55.8% 0.140 135.0);
Tailwind
colors: {
  custom: {
    50: '#84a966',
    500: '#4d8525',
    950: '#000000',
  },
}
SCSS
$custom: #4d8525;
$custom-light: #84a966;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8525",
  "rgb": {
    "r": 77,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 95,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55773,
    "c": 0.14025,
    "h": 135
  },
  "luminance": 0.18486
}

Semantic roles & 50–950 ramp

primary
#4D8525
secondary
#8B52B4
accent
#48E0A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4D8525

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

Preview Lab → · Contrast checker → · Palette generator →

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