#4E7721#4E7721

#4E7721 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.1% C 0.123 H 131.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E7721
RGBrgb(78, 119, 33)
HSLhsl(89, 57%, 30%)
HSVhsv(89, 72%, 47%)
CMYKcmyk(34.5%, 0%, 72.3%, 53.3%)
CIE-LABlab(45.53, -29.06, 40.77)
CIE-LCHlch(45.53, 50.07, 125.48°)
OKLaboklab(52.06% -0.0819 0.0923)
OKLCHoklch(52.06% 0.123 131.6)
XYZxyz(10.0131, 14.9228, 3.7914)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7721 #4A2177
analogous
#777521 #4E7721 #237721
triadic
#4E7721 #214E77 #77214E
tetradic
#4E7721 #217775 #4A2177 #772123
square
#4E7721 #217775 #4A2177 #772123
split-complementary
#4E7721 #212377 #752177
monochromatic
#101807 #2F4714 #4E7721 #6DA72E #8CCC47

Accessibility & contrast

On white

5.27
#4E7721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4E7721 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7721
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7721#FFFFFF#000000##FFFFFF
##4E77211.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E14
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#4F7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e7721;
/* rgb */ color: rgb(78, 119, 33);
/* oklch */ color: oklch(52.1% 0.123 131.6);
Tailwind
colors: {
  custom: {
    50: '#839e62',
    500: '#4e7721',
    950: '#000000',
  },
}
SCSS
$custom: #4e7721;
$custom-light: #839e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7721",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 33
  },
  "hsl": {
    "h": 88.605,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.12344,
    "h": 131.6
  },
  "luminance": 0.14923
}

Semantic roles & 50–950 ramp

primary
#4E7721
secondary
#784AAA
accent
#48E090
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7721

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

Preview Lab → · Contrast checker → · Palette generator →

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