#4D901F#4D901F

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

Color values

HEX#4D901F
RGBrgb(77, 144, 31)
HSLhsl(96, 65%, 34%)
HSVhsv(96, 78%, 56%)
CMYKcmyk(46.5%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.62, -40.65, 49.54)
CIE-LCHlch(53.62, 64.08, 129.37°)
OKLaboklab(58.67% -0.1134 0.1104)
OKLCHoklch(58.67% 0.158 135.8)
XYZxyz(13.2808, 21.6224, 4.7698)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D901F #621F90
analogous
#86901F #4D901F #1F902A
triadic
#4D901F #1F4D90 #901F4D
tetradic
#4D901F #1F8690 #621F90 #902A1F
square
#4D901F #1F8690 #621F90 #902A1F
split-complementary
#4D901F #2A1F90 #901F86
monochromatic
#172B09 #325E14 #4D901F #68C22A #88D950

Accessibility & contrast

On white

3.94
#4D901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D901F#FFFFFF#000000##000000
##4D901F1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958402
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#4A8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d901f;
/* rgb */ color: rgb(77, 144, 31);
/* oklch */ color: oklch(58.7% 0.158 135.8);
Tailwind
colors: {
  custom: {
    50: '#85b164',
    500: '#4d901f',
    950: '#000000',
  },
}
SCSS
$custom: #4d901f;
$custom-light: #85b164;
$custom-dark: #000000;
JSON
{
  "hex": "#4d901f",
  "rgb": {
    "r": 77,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 95.575,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58666,
    "c": 0.15823,
    "h": 135.8
  },
  "luminance": 0.21623
}

Semantic roles & 50–950 ramp

primary
#4D901F
secondary
#904EBC
accent
#40E8A3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D901F

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

Preview Lab → · Contrast checker → · Palette generator →

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