#4E901C#4E901C

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

Color values

HEX#4E901C
RGBrgb(78, 144, 28)
HSLhsl(94, 67%, 34%)
HSVhsv(94, 81%, 56%)
CMYKcmyk(45.8%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.65, -40.49, 50.56)
CIE-LCHlch(53.65, 64.77, 128.69°)
OKLaboklab(58.7% -0.1132 0.112)
OKLCHoklch(58.7% 0.159 135.3)
XYZxyz(13.3244, 21.6493, 4.5750)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E901C #5E1C90
analogous
#88901C #4E901C #1C9024
triadic
#4E901C #1C4E90 #901C4E
tetradic
#4E901C #1C8890 #5E1C90 #90241C
square
#4E901C #1C8890 #5E1C90 #90241C
split-complementary
#4E901C #241C90 #901C88
monochromatic
#162A08 #325D12 #4E901C #6AC326 #89DC4A

Accessibility & contrast

On white

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

On black

5.33
#4E901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E901C
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E901C#FFFFFF#000000##000000
##4E901C1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#4C8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e901c;
/* rgb */ color: rgb(78, 144, 28);
/* oklch */ color: oklch(58.7% 0.159 135.3);
Tailwind
colors: {
  custom: {
    50: '#86b163',
    500: '#4e901c',
    950: '#000000',
  },
}
SCSS
$custom: #4e901c;
$custom-light: #86b163;
$custom-dark: #000000;
JSON
{
  "hex": "#4e901c",
  "rgb": {
    "r": 78,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 94.138,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.15927,
    "h": 135.3
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#4E901C
secondary
#8C4ABE
accent
#3DEAA0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E901C

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

Preview Lab → · Contrast checker → · Palette generator →

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