#4E7529#4E7529

#4E7529 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.114 H 132.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4E7529
RGBrgb(78, 117, 41)
HSLhsl(91, 48%, 31%)
HSVhsv(91, 65%, 46%)
CMYKcmyk(33.3%, 0%, 65%, 54.1%)
CIE-LABlab(44.94, -27.41, 36.58)
CIE-LCHlch(44.94, 45.71, 126.85°)
OKLaboklab(51.61% -0.0767 0.0846)
OKLCHoklch(51.61% 0.114 132.2)
XYZxyz(9.9033, 14.5020, 4.3748)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7529 #502975
analogous
#747529 #4E7529 #29752A
triadic
#4E7529 #294E75 #75294E
tetradic
#4E7529 #297475 #502975 #752A29
square
#4E7529 #297475 #502975 #752A29
split-complementary
#4E7529 #2A2975 #752974
monochromatic
#121A09 #304819 #4E7529 #6CA239 #8BC355

Accessibility & contrast

On white

5.38
#4E7529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4E7529 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7529
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7529#FFFFFF#000000##FFFFFF
##4E75291.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C20
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#4F7065
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e7529;
/* rgb */ color: rgb(78, 117, 41);
/* oklch */ color: oklch(51.6% 0.114 132.2);
Tailwind
colors: {
  custom: {
    50: '#829d66',
    500: '#4e7529',
    950: '#000000',
  },
}
SCSS
$custom: #4e7529;
$custom-light: #829d66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7529",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 41
  },
  "hsl": {
    "h": 90.789,
    "s": 48.101,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51607,
    "c": 0.1142,
    "h": 132.2
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#4E7529
secondary
#7E53A7
accent
#50D896
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7529

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

Preview Lab → · Contrast checker → · Palette generator →

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