#4E801B#4E801B

#4E801B is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.139 H 132.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4E801B
RGBrgb(78, 128, 27)
HSLhsl(90, 65%, 30%)
HSVhsv(90, 79%, 50%)
CMYKcmyk(39.1%, 0%, 78.9%, 49.8%)
CIE-LABlab(48.43, -33.63, 45.95)
CIE-LCHlch(48.43, 56.94, 126.20°)
OKLaboklab(54.42% -0.0948 0.1022)
OKLCHoklch(54.42% 0.139 132.9)
XYZxyz(11.0587, 17.1367, 3.7617)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E801B #4D1B80
analogous
#807F1B #4E801B #1C801B
triadic
#4E801B #1B4E80 #801B4E
tetradic
#4E801B #1B807F #4D1B80 #801B1C
square
#4E801B #1B807F #4D1B80 #801B1C
split-complementary
#4E801B #1B1C80 #7F1B80
monochromatic
#101B06 #2F4D10 #4E801B #6DB326 #8BD63F

Accessibility & contrast

On white

4.74
#4E801B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4E801B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E801B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E801B#FFFFFF#000000##FFFFFF
##4E801B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867603
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#4E7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e801b;
/* rgb */ color: rgb(78, 128, 27);
/* oklch */ color: oklch(54.4% 0.139 132.9);
Tailwind
colors: {
  custom: {
    50: '#84a560',
    500: '#4e801b',
    950: '#000000',
  },
}
SCSS
$custom: #4e801b;
$custom-light: #84a560;
$custom-dark: #000000;
JSON
{
  "hex": "#4e801b",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 89.703,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.13941,
    "h": 132.9
  },
  "luminance": 0.17137
}

Semantic roles & 50–950 ramp

primary
#4E801B
secondary
#7B43B4
accent
#40E893
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E801B

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

Preview Lab → · Contrast checker → · Palette generator →

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