#4E7522#4E7522

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

Color values

HEX#4E7522
RGBrgb(78, 117, 34)
HSLhsl(88, 55%, 30%)
HSVhsv(88, 71%, 46%)
CMYKcmyk(33.3%, 0%, 70.9%, 54.1%)
CIE-LABlab(44.88, -28.03, 39.68)
CIE-LCHlch(44.88, 48.58, 125.24°)
OKLaboklab(51.54% -0.079 0.0902)
OKLCHoklch(51.54% 0.12 131.2)
XYZxyz(9.7918, 14.4574, 3.7877)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7522 #492275
analogous
#757322 #4E7522 #247522
triadic
#4E7522 #224E75 #75224E
tetradic
#4E7522 #227573 #492275 #752224
square
#4E7522 #227573 #492275 #752224
split-complementary
#4E7522 #222475 #732275
monochromatic
#101807 #2E4614 #4E7522 #6EA430 #8DCA48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7522#FFFFFF#000000##FFFFFF
##4E75221.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)
#7A6C16
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#4F7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e7522;
/* rgb */ color: rgb(78, 117, 34);
/* oklch */ color: oklch(51.5% 0.120 131.2);
Tailwind
colors: {
  custom: {
    50: '#839d62',
    500: '#4e7522',
    950: '#000000',
  },
}
SCSS
$custom: #4e7522;
$custom-light: #839d62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7522",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 88.193,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.11991,
    "h": 131.2
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#4E7522
secondary
#774BA8
accent
#49DE8F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4E7522

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

Preview Lab → · Contrast checker → · Palette generator →

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