#4E7313#4E7313

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

Color values

HEX#4E7313
RGBrgb(78, 115, 19)
HSLhsl(83, 72%, 26%)
HSVhsv(83, 83%, 45%)
CMYKcmyk(32.2%, 0%, 83.5%, 54.9%)
CIE-LABlab(44.13, -28.04, 44.57)
CIE-LCHlch(44.13, 52.65, 122.17°)
OKLaboklab(50.89% -0.0803 0.098)
OKLCHoklch(50.89% 0.127 129.3)
XYZxyz(9.3901, 13.9279, 2.8096)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7313 #381373
analogous
#736813 #4E7313 #1E7313
triadic
#4E7313 #134E73 #73134E
tetradic
#4E7313 #137368 #381373 #73131E
square
#4E7313 #137368 #381373 #73131E
split-complementary
#4E7313 #131E73 #681373
monochromatic
#121A04 #2A3E0A #4E7313 #72A81C #95DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7313#FFFFFF#000000##FFFFFF
##4E73131.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)
#516E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7313;
/* rgb */ color: rgb(78, 115, 19);
/* oklch */ color: oklch(50.9% 0.127 129.3);
Tailwind
colors: {
  custom: {
    50: '#839b5a',
    500: '#4e7313',
    950: '#000000',
  },
}
SCSS
$custom: #4e7313;
$custom-light: #839b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7313",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 83.125,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.12666,
    "h": 129.3
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#4E7313
secondary
#6438AA
accent
#39EE7F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7313

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

Preview Lab → · Contrast checker → · Palette generator →

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