#4E7315#4E7315

#4E7315 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.126 H 129.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4E7315
RGBrgb(78, 115, 21)
HSLhsl(84, 69%, 27%)
HSVhsv(84, 82%, 45%)
CMYKcmyk(32.2%, 0%, 81.7%, 54.9%)
CIE-LABlab(44.14, -27.93, 43.94)
CIE-LCHlch(44.14, 52.07, 122.45°)
OKLaboklab(50.9% -0.0799 0.097)
OKLCHoklch(50.9% 0.126 129.5)
XYZxyz(9.4079, 13.9350, 2.9034)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7315 #3A1573
analogous
#736915 #4E7315 #1F7315
triadic
#4E7315 #154E73 #73154E
tetradic
#4E7315 #157369 #3A1573 #73151F
square
#4E7315 #157369 #3A1573 #73151F
split-complementary
#4E7315 #151F73 #691573
monochromatic
#121A05 #2B3F0C #4E7315 #71A71E #94D82A

Accessibility & contrast

On white

5.55
#4E7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7315
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7315#FFFFFF#000000##FFFFFF
##4E73151.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#74671F
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7315;
/* rgb */ color: rgb(78, 115, 21);
/* oklch */ color: oklch(50.9% 0.126 129.5);
Tailwind
colors: {
  custom: {
    50: '#839b5b',
    500: '#4e7315',
    950: '#000000',
  },
}
SCSS
$custom: #4e7315;
$custom-light: #839b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7315",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 83.617,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.12563,
    "h": 129.5
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#4E7315
secondary
#663BA9
accent
#3CEC81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7315

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

Preview Lab → · Contrast checker → · Palette generator →

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