#4E7518#4E7518

#4E7518 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.5% C 0.127 H 130.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4E7518
RGBrgb(78, 117, 24)
HSLhsl(85, 66%, 28%)
HSVhsv(85, 79%, 46%)
CMYKcmyk(33.3%, 0%, 79.5%, 54.1%)
CIE-LABlab(44.81, -28.72, 43.55)
CIE-LCHlch(44.81, 52.16, 123.41°)
OKLaboklab(51.46% -0.0818 0.0967)
OKLCHoklch(51.46% 0.127 130.2)
XYZxyz(9.6680, 14.4079, 3.1356)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7518 #3F1875
analogous
#756D18 #4E7518 #207518
triadic
#4E7518 #184E75 #75184E
tetradic
#4E7518 #18756D #3F1875 #751820
square
#4E7518 #18756D #3F1875 #751820
split-complementary
#4E7518 #182075 #6D1875
monochromatic
#111905 #2C420E #4E7518 #70A822 #91D532

Accessibility & contrast

On white

5.41
#4E7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4E7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7518
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7518#FFFFFF#000000##FFFFFF
##4E75181.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#507064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e7518;
/* rgb */ color: rgb(78, 117, 24);
/* oklch */ color: oklch(51.5% 0.127 130.2);
Tailwind
colors: {
  custom: {
    50: '#839d5d',
    500: '#4e7518',
    950: '#000000',
  },
}
SCSS
$custom: #4e7518;
$custom-light: #839d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7518",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 85.161,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.12661,
    "h": 130.2
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#4E7518
secondary
#6C3FAA
accent
#3FE986
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7518

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

Preview Lab → · Contrast checker → · Palette generator →

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