#4E801C#4E801C

#4E801C 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#4E801C
RGBrgb(78, 128, 28)
HSLhsl(90, 64%, 31%)
HSVhsv(90, 78%, 50%)
CMYKcmyk(39.1%, 0%, 78.1%, 49.8%)
CIE-LABlab(48.44, -33.57, 45.60)
CIE-LCHlch(48.44, 56.63, 126.35°)
OKLaboklab(54.42% -0.0946 0.1016)
OKLCHoklch(54.42% 0.139 132.9)
XYZxyz(11.0705, 17.1414, 3.8237)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E801C #4E1C80
analogous
#80801C #4E801C #1C801C
triadic
#4E801C #1C4E80 #801C4E
tetradic
#4E801C #1C8080 #4E1C80 #801C1C
square
#4E801C #1C8080 #4E1C80 #801C1C
split-complementary
#4E801C #1C1C80 #801C80
monochromatic
#111C06 #2F4E11 #4E801C #6DB227 #8BD541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E801C#FFFFFF#000000##FFFFFF
##4E801C1.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)
#857605
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#4E7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e801c;
/* rgb */ color: rgb(78, 128, 28);
/* oklch */ color: oklch(54.4% 0.139 132.9);
Tailwind
colors: {
  custom: {
    50: '#84a560',
    500: '#4e801c',
    950: '#000000',
  },
}
SCSS
$custom: #4e801c;
$custom-light: #84a560;
$custom-dark: #000000;
JSON
{
  "hex": "#4e801c",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.13883,
    "h": 132.9
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#4E801C
secondary
#7C44B3
accent
#41E794
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E801C

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

Preview Lab → · Contrast checker → · Palette generator →

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