#4D9D23#4D9D23

#4D9D23 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.2% C 0.172 H 137.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4D9D23
RGBrgb(77, 157, 35)
HSLhsl(99, 64%, 38%)
HSVhsv(99, 78%, 62%)
CMYKcmyk(51%, 0%, 77.7%, 38.4%)
CIE-LABlab(57.86, -45.65, 52.27)
CIE-LCHlch(57.86, 69.40, 131.14°)
OKLaboklab(62.16% -0.1266 0.1167)
OKLCHoklch(62.16% 0.172 137.3)
XYZxyz(15.4204, 25.8120, 5.7594)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9D23 #73239D
analogous
#8A9D23 #4D9D23 #239D36
triadic
#4D9D23 #234D9D #9D234D
tetradic
#4D9D23 #238A9D #73239D #9D3623
square
#4D9D23 #238A9D #73239D #9D3623
split-complementary
#4D9D23 #36239D #9D238A
monochromatic
#1C390D #346B18 #4D9D23 #66CF2E #8ADB5F

Accessibility & contrast

On white

3.41
#4D9D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#4D9D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9D23
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9D23#FFFFFF#000000##000000
##4D9D231.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F04
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#489786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4d9d23;
/* rgb */ color: rgb(77, 157, 35);
/* oklch */ color: oklch(62.2% 0.172 137.3);
Tailwind
colors: {
  custom: {
    50: '#87bb68',
    500: '#4d9d23',
    950: '#000000',
  },
}
SCSS
$custom: #4d9d23;
$custom-light: #87bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9d23",
  "rgb": {
    "r": 77,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 99.344,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62155,
    "c": 0.17216,
    "h": 137.3
  },
  "luminance": 0.25813
}

Semantic roles & 50–950 ramp

primary
#4D9D23
secondary
#9E5CC0
accent
#41E7AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4D9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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