#4E7521#4E7521

#4E7521 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.121 H 131.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E7521
RGBrgb(78, 117, 33)
HSLhsl(88, 56%, 29%)
HSVhsv(88, 72%, 46%)
CMYKcmyk(33.3%, 0%, 71.8%, 54.1%)
CIE-LABlab(44.87, -28.11, 40.10)
CIE-LCHlch(44.87, 48.97, 125.03°)
OKLaboklab(51.53% -0.0793 0.0909)
OKLCHoklch(51.53% 0.121 131.1)
XYZxyz(9.7776, 14.4518, 3.7129)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7521 #482175
analogous
#757221 #4E7521 #247521
triadic
#4E7521 #214E75 #75214E
tetradic
#4E7521 #217572 #482175 #752124
square
#4E7521 #217572 #482175 #752124
split-complementary
#4E7521 #212475 #722175
monochromatic
#101807 #2E4514 #4E7521 #6EA52E #8DCB46

Accessibility & contrast

On white

5.40
#4E7521 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4E7521 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7521
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7521#FFFFFF#000000##FFFFFF
##4E75211.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C14
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#507064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e7521;
/* rgb */ color: rgb(78, 117, 33);
/* oklch */ color: oklch(51.5% 0.121 131.1);
Tailwind
colors: {
  custom: {
    50: '#839d62',
    500: '#4e7521',
    950: '#000000',
  },
}
SCSS
$custom: #4e7521;
$custom-light: #839d62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7521",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 33
  },
  "hsl": {
    "h": 87.857,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.12065,
    "h": 131.1
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#4E7521
secondary
#764AA8
accent
#49DF8F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7521

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

Preview Lab → · Contrast checker → · Palette generator →

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