#4D901B#4D901B

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

Color values

HEX#4D901B
RGBrgb(77, 144, 27)
HSLhsl(94, 68%, 34%)
HSVhsv(94, 81%, 56%)
CMYKcmyk(46.5%, 0%, 81.3%, 43.5%)
CIE-LABlab(53.60, -40.88, 50.81)
CIE-LCHlch(53.60, 65.21, 128.82°)
OKLaboklab(58.64% -0.1143 0.1124)
OKLCHoklch(58.64% 0.16 135.5)
XYZxyz(13.2313, 21.6026, 4.5092)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D901B #5E1B90
analogous
#87901B #4D901B #1B9023
triadic
#4D901B #1B4D90 #901B4D
tetradic
#4D901B #1B8790 #5E1B90 #90231B
square
#4D901B #1B8790 #5E1B90 #90231B
split-complementary
#4D901B #231B90 #901B87
monochromatic
#162908 #315C11 #4D901B #69C425 #88DD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D901B#FFFFFF#000000##000000
##4D901B1.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)
#958400
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#4B8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d901b;
/* rgb */ color: rgb(77, 144, 27);
/* oklch */ color: oklch(58.6% 0.160 135.5);
Tailwind
colors: {
  custom: {
    50: '#85b162',
    500: '#4d901b',
    950: '#000000',
  },
}
SCSS
$custom: #4d901b;
$custom-light: #85b162;
$custom-dark: #000000;
JSON
{
  "hex": "#4d901b",
  "rgb": {
    "r": 77,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 94.359,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.16029,
    "h": 135.5
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

primary
#4D901B
secondary
#8C48BF
accent
#3DEBA1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D901B

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

Preview Lab → · Contrast checker → · Palette generator →

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