#4D9015#4D9015

#4D9015 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.6% C 0.163 H 135.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4D9015
RGBrgb(77, 144, 21)
HSLhsl(93, 75%, 32%)
HSVhsv(93, 85%, 56%)
CMYKcmyk(46.5%, 0%, 85.4%, 43.5%)
CIE-LABlab(53.58, -41.17, 52.49)
CIE-LCHlch(53.58, 66.71, 128.11°)
OKLaboklab(58.61% -0.1154 0.115)
OKLCHoklch(58.61% 0.163 135.1)
XYZxyz(13.1689, 21.5776, 4.1803)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9015 #581590
analogous
#8A9015 #4D9015 #15901B
triadic
#4D9015 #154D90 #90154D
tetradic
#4D9015 #158A90 #581590 #901B15
square
#4D9015 #158A90 #581590 #901B15
split-complementary
#4D9015 #1B1590 #90158A
monochromatic
#142505 #305B0D #4D9015 #6AC51D #88E33D

Accessibility & contrast

On white

3.95
#4D9015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4D9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D9015
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D9015#FFFFFF#000000##000000
##4D90151.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#4B8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d9015;
/* rgb */ color: rgb(77, 144, 21);
/* oklch */ color: oklch(58.6% 0.163 135.1);
Tailwind
colors: {
  custom: {
    50: '#86b160',
    500: '#4d9015',
    950: '#000000',
  },
}
SCSS
$custom: #4d9015;
$custom-light: #86b160;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9015",
  "rgb": {
    "r": 77,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 92.683,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.16293,
    "h": 135.1
  },
  "luminance": 0.21578
}

Semantic roles & 50–950 ramp

primary
#4D9015
secondary
#863EC2
accent
#37F19C
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #4D9015

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

Preview Lab → · Contrast checker → · Palette generator →

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