#4E7C24#4E7C24

#4E7C24 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.128 H 133.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E7C24
RGBrgb(78, 124, 36)
HSLhsl(91, 55%, 31%)
HSVhsv(91, 71%, 49%)
CMYKcmyk(37.1%, 0%, 71%, 51.4%)
CIE-LABlab(47.19, -31.17, 41.23)
CIE-LCHlch(47.19, 51.68, 127.09°)
OKLaboklab(53.42% -0.0874 0.0937)
OKLCHoklch(53.42% 0.128 133)
XYZxyz(10.6678, 16.1619, 4.2262)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C24 #52247C
analogous
#7A7C24 #4E7C24 #247C26
triadic
#4E7C24 #244E7C #7C244E
tetradic
#4E7C24 #247A7C #52247C #7C2624
square
#4E7C24 #247A7C #52247C #7C2624
split-complementary
#4E7C24 #26247C #7C247A
monochromatic
#121D08 #304D16 #4E7C24 #6CAB32 #8ACC4F

Accessibility & contrast

On white

4.96
#4E7C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4E7C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C24
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C24#FFFFFF#000000##FFFFFF
##4E7C241.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#4E776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c24;
/* rgb */ color: rgb(78, 124, 36);
/* oklch */ color: oklch(53.4% 0.128 133.0);
Tailwind
colors: {
  custom: {
    50: '#83a264',
    500: '#4e7c24',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c24;
$custom-light: #83a264;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c24",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 91.364,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.12816,
    "h": 133
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#4E7C24
secondary
#804DAE
accent
#49DE97
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7C24

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

Preview Lab → · Contrast checker → · Palette generator →

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