#4D9017#4D9017

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

Color values

HEX#4D9017
RGBrgb(77, 144, 23)
HSLhsl(93, 72%, 33%)
HSVhsv(93, 84%, 56%)
CMYKcmyk(46.5%, 0%, 84%, 43.5%)
CIE-LABlab(53.58, -41.08, 51.96)
CIE-LCHlch(53.58, 66.24, 128.33°)
OKLaboklab(58.62% -0.115 0.1142)
OKLCHoklch(58.62% 0.162 135.2)
XYZxyz(13.1882, 21.5853, 4.2819)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D9017 #5A1790
analogous
#899017 #4D9017 #17901D
triadic
#4D9017 #174D90 #90174D
tetradic
#4D9017 #178990 #5A1790 #901D17
square
#4D9017 #178990 #5A1790 #901D17
split-complementary
#4D9017 #1D1790 #901789
monochromatic
#152606 #315B0F #4D9017 #69C51F #88E141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D9017#FFFFFF#000000##000000
##4D90171.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)
#8D7E26
Tritanopia (blue-blind)
#4B8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d9017;
/* rgb */ color: rgb(77, 144, 23);
/* oklch */ color: oklch(58.6% 0.162 135.2);
Tailwind
colors: {
  custom: {
    50: '#86b161',
    500: '#4d9017',
    950: '#000000',
  },
}
SCSS
$custom: #4d9017;
$custom-light: #86b161;
$custom-dark: #000000;
JSON
{
  "hex": "#4d9017",
  "rgb": {
    "r": 77,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 93.223,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.16211,
    "h": 135.2
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#4D9017
secondary
#8842C1
accent
#39EF9E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #4D9017

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

Preview Lab → · Contrast checker → · Palette generator →

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