#4D901C#4D901C

#4D901C 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#4D901C
RGBrgb(77, 144, 28)
HSLhsl(95, 67%, 34%)
HSVhsv(95, 81%, 56%)
CMYKcmyk(46.5%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.61, -40.82, 50.50)
CIE-LCHlch(53.61, 64.94, 128.95°)
OKLaboklab(58.65% -0.1141 0.1119)
OKLCHoklch(58.65% 0.16 135.5)
XYZxyz(13.2431, 21.6073, 4.5712)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D901C #5F1C90
analogous
#87901C #4D901C #1C9025
triadic
#4D901C #1C4D90 #901C4D
tetradic
#4D901C #1C8790 #5F1C90 #90251C
square
#4D901C #1C8790 #5F1C90 #90251C
split-complementary
#4D901C #251C90 #901C87
monochromatic
#162A08 #325D12 #4D901C #68C326 #88DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D901C#FFFFFF#000000##000000
##4D901C1.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: #4d901c;
/* rgb */ color: rgb(77, 144, 28);
/* oklch */ color: oklch(58.6% 0.160 135.5);
Tailwind
colors: {
  custom: {
    50: '#85b163',
    500: '#4d901c',
    950: '#000000',
  },
}
SCSS
$custom: #4d901c;
$custom-light: #85b163;
$custom-dark: #000000;
JSON
{
  "hex": "#4d901c",
  "rgb": {
    "r": 77,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 94.655,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.15979,
    "h": 135.5
  },
  "luminance": 0.21608
}

Semantic roles & 50–950 ramp

primary
#4D901C
secondary
#8D4ABE
accent
#3DEAA1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4D901C

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

Preview Lab → · Contrast checker → · Palette generator →

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