#4E7B24#4E7B24

#4E7B24 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.127 H 132.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E7B24
RGBrgb(78, 123, 36)
HSLhsl(91, 55%, 31%)
HSVhsv(91, 71%, 48%)
CMYKcmyk(36.6%, 0%, 70.7%, 51.8%)
CIE-LABlab(46.86, -30.71, 40.89)
CIE-LCHlch(46.86, 51.13, 126.91°)
OKLaboklab(53.15% -0.0862 0.093)
OKLCHoklch(53.15% 0.127 132.8)
XYZxyz(10.5431, 15.9126, 4.1846)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B24 #51247B
analogous
#797B24 #4E7B24 #247B25
triadic
#4E7B24 #244E7B #7B244E
tetradic
#4E7B24 #24797B #51247B #7B2524
square
#4E7B24 #24797B #51247B #7B2524
split-complementary
#4E7B24 #25247B #7B2479
monochromatic
#121C08 #304C16 #4E7B24 #6CAA32 #8BCB4E

Accessibility & contrast

On white

5.02
#4E7B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4E7B24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B24
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B24#FFFFFF#000000##FFFFFF
##4E7B241.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807117
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#4F7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b24;
/* rgb */ color: rgb(78, 123, 36);
/* oklch */ color: oklch(53.2% 0.127 132.8);
Tailwind
colors: {
  custom: {
    50: '#83a164',
    500: '#4e7b24',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b24;
$custom-light: #83a164;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b24",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 91.034,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.12677,
    "h": 132.8
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#4E7B24
secondary
#7F4DAD
accent
#4ADE96
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7B24

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

Preview Lab → · Contrast checker → · Palette generator →

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