#4E7921#4E7921

#4E7921 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.126 H 132.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E7921
RGBrgb(78, 121, 33)
HSLhsl(89, 57%, 30%)
HSVhsv(89, 73%, 47%)
CMYKcmyk(35.5%, 0%, 72.7%, 52.5%)
CIE-LABlab(46.18, -30.01, 41.45)
CIE-LCHlch(46.18, 51.17, 125.91°)
OKLaboklab(52.59% -0.0845 0.0937)
OKLCHoklch(52.59% 0.126 132)
XYZxyz(10.2536, 15.4039, 3.8715)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7921 #4C2179
analogous
#797821 #4E7921 #227921
triadic
#4E7921 #214E79 #79214E
tetradic
#4E7921 #217978 #4C2179 #792122
square
#4E7921 #217978 #4C2179 #792122
split-complementary
#4E7921 #212279 #782179
monochromatic
#101907 #2F4914 #4E7921 #6DA92E #8CCD47

Accessibility & contrast

On white

5.15
#4E7921 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4E7921 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7921
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7921#FFFFFF#000000##FFFFFF
##4E79211.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7013
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#4F7468
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7921;
/* rgb */ color: rgb(78, 121, 33);
/* oklch */ color: oklch(52.6% 0.126 132.0);
Tailwind
colors: {
  custom: {
    50: '#83a062',
    500: '#4e7921',
    950: '#000000',
  },
}
SCSS
$custom: #4e7921;
$custom-light: #83a062;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7921",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 33
  },
  "hsl": {
    "h": 89.318,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52593,
    "c": 0.1262,
    "h": 132
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#4E7921
secondary
#7A4AAC
accent
#47E092
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7921

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

Preview Lab → · Contrast checker → · Palette generator →

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