#4E7621#4E7621

#4E7621 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.122 H 131.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E7621
RGBrgb(78, 118, 33)
HSLhsl(88, 56%, 30%)
HSVhsv(88, 72%, 46%)
CMYKcmyk(33.9%, 0%, 72%, 53.7%)
CIE-LABlab(45.20, -28.59, 40.44)
CIE-LCHlch(45.20, 49.52, 125.26°)
OKLaboklab(51.79% -0.0807 0.0916)
OKLCHoklch(51.79% 0.122 131.4)
XYZxyz(9.8947, 14.6860, 3.7519)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7621 #492176
analogous
#767321 #4E7621 #247621
triadic
#4E7621 #214E76 #76214E
tetradic
#4E7621 #217673 #492176 #762124
square
#4E7621 #217673 #492176 #762124
split-complementary
#4E7621 #212476 #732176
monochromatic
#101807 #2E4614 #4E7621 #6EA62E #8DCB46

Accessibility & contrast

On white

5.33
#4E7621 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4E7621 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7621
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7621#FFFFFF#000000##FFFFFF
##4E76211.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D14
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#4F7165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7621;
/* rgb */ color: rgb(78, 118, 33);
/* oklch */ color: oklch(51.8% 0.122 131.4);
Tailwind
colors: {
  custom: {
    50: '#839e62',
    500: '#4e7621',
    950: '#000000',
  },
}
SCSS
$custom: #4e7621;
$custom-light: #839e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7621",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 33
  },
  "hsl": {
    "h": 88.235,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.12205,
    "h": 131.4
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#4E7621
secondary
#774AA9
accent
#48E08F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7621

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

Preview Lab → · Contrast checker → · Palette generator →

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