#4E7314#4E7314

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

Color values

HEX#4E7314
RGBrgb(78, 115, 20)
HSLhsl(83, 70%, 26%)
HSVhsv(83, 83%, 45%)
CMYKcmyk(32.2%, 0%, 82.6%, 54.9%)
CIE-LABlab(44.13, -27.98, 44.26)
CIE-LCHlch(44.13, 52.36, 122.30°)
OKLaboklab(50.9% -0.0801 0.0975)
OKLCHoklch(50.9% 0.126 129.4)
XYZxyz(9.3989, 13.9314, 2.8555)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7314 #391473
analogous
#736914 #4E7314 #1F7314
triadic
#4E7314 #144E73 #73144E
tetradic
#4E7314 #147369 #391473 #73141F
square
#4E7314 #147369 #391473 #73141F
split-complementary
#4E7314 #141F73 #691473
monochromatic
#121A05 #2B3F0B #4E7314 #71A71D #94DA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7314#FFFFFF#000000##FFFFFF
##4E73141.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)
#74671E
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7314;
/* rgb */ color: rgb(78, 115, 20);
/* oklch */ color: oklch(50.9% 0.126 129.4);
Tailwind
colors: {
  custom: {
    50: '#839b5b',
    500: '#4e7314',
    950: '#000000',
  },
}
SCSS
$custom: #4e7314;
$custom-light: #839b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7314",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 83.368,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50898,
    "c": 0.12615,
    "h": 129.4
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#4E7314
secondary
#653AA9
accent
#3BED80
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7314

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

Preview Lab → · Contrast checker → · Palette generator →

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