#4D9C25#4D9C25

#4D9C25 is a mid, vivid yellow-green. Relative luminance 0.255; OKLCH L 61.9% C 0.170 H 137.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4D9C25
RGBrgb(77, 156, 37)
HSLhsl(100, 62%, 38%)
HSVhsv(100, 76%, 61%)
CMYKcmyk(50.6%, 0%, 76.3%, 38.8%)
CIE-LABlab(57.55, -45.13, 51.28)
CIE-LCHlch(57.55, 68.31, 131.35°)
OKLaboklab(61.9% -0.1251 0.1149)
OKLCHoklch(61.9% 0.17 137.4)
XYZxyz(15.2825, 25.4872, 5.8641)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9C25 #74259C
analogous
#889C25 #4D9C25 #259C38
triadic
#4D9C25 #254D9C #9C254D
tetradic
#4D9C25 #25889C #74259C #9C3825
square
#4D9C25 #25889C #74259C #9C3825
split-complementary
#4D9C25 #38259C #9C2588
monochromatic
#1C390E #356B19 #4D9C25 #65CD31 #8ADA62

Accessibility & contrast

On white

3.44
#4D9C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#4D9C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9C25
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9C25#FFFFFF#000000##000000
##4D9C251.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0A
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#489685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4d9c25;
/* rgb */ color: rgb(77, 156, 37);
/* oklch */ color: oklch(61.9% 0.170 137.4);
Tailwind
colors: {
  custom: {
    50: '#87ba68',
    500: '#4d9c25',
    950: '#000000',
  },
}
SCSS
$custom: #4d9c25;
$custom-light: #87ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9c25",
  "rgb": {
    "r": 77,
    "g": 156,
    "b": 37
  },
  "hsl": {
    "h": 99.832,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61902,
    "c": 0.16983,
    "h": 137.4
  },
  "luminance": 0.25488
}

Semantic roles & 50–950 ramp

primary
#4D9C25
secondary
#9E5EBF
accent
#43E5AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4D9C25

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

Preview Lab → · Contrast checker → · Palette generator →

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