#4E7618#4E7618

#4E7618 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.128 H 130.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E7618
RGBrgb(78, 118, 24)
HSLhsl(86, 66%, 28%)
HSVhsv(86, 80%, 46%)
CMYKcmyk(33.9%, 0%, 79.7%, 53.7%)
CIE-LABlab(45.14, -29.20, 43.86)
CIE-LCHlch(45.14, 52.69, 123.65°)
OKLaboklab(51.72% -0.083 0.0973)
OKLCHoklch(51.72% 0.128 130.5)
XYZxyz(9.7851, 14.6422, 3.1746)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7618 #401876
analogous
#766F18 #4E7618 #1F7618
triadic
#4E7618 #184E76 #76184E
tetradic
#4E7618 #18766F #401876 #76181F
square
#4E7618 #18766F #401876 #76181F
split-complementary
#4E7618 #181F76 #6F1876
monochromatic
#111905 #2C430E #4E7618 #70A922 #90D533

Accessibility & contrast

On white

5.35
#4E7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4E7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7618
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7618#FFFFFF#000000##FFFFFF
##4E76181.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#507164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7618;
/* rgb */ color: rgb(78, 118, 24);
/* oklch */ color: oklch(51.7% 0.128 130.5);
Tailwind
colors: {
  custom: {
    50: '#839d5d',
    500: '#4e7618',
    950: '#000000',
  },
}
SCSS
$custom: #4e7618;
$custom-light: #839d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7618",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 85.532,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.12793,
    "h": 130.5
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#4E7618
secondary
#6D3FAB
accent
#3FE987
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7618

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

Preview Lab → · Contrast checker → · Palette generator →

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