#4E7317#4E7317

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

Color values

HEX#4E7317
RGBrgb(78, 115, 23)
HSLhsl(84, 67%, 27%)
HSVhsv(84, 80%, 45%)
CMYKcmyk(32.2%, 0%, 80%, 54.9%)
CIE-LABlab(44.15, -27.82, 43.27)
CIE-LCHlch(44.15, 51.44, 122.74°)
OKLaboklab(50.92% -0.0794 0.0959)
OKLCHoklch(50.92% 0.125 129.6)
XYZxyz(9.4272, 13.9427, 3.0050)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7317 #3C1773
analogous
#736A17 #4E7317 #207317
triadic
#4E7317 #174E73 #73174E
tetradic
#4E7317 #17736A #3C1773 #731720
square
#4E7317 #17736A #3C1773 #731720
split-complementary
#4E7317 #172073 #6A1773
monochromatic
#111A05 #2B400D #4E7317 #71A621 #92D52F

Accessibility & contrast

On white

5.54
#4E7317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7317
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7317#FFFFFF#000000##FFFFFF
##4E73171.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7317;
/* rgb */ color: rgb(78, 115, 23);
/* oklch */ color: oklch(50.9% 0.125 129.6);
Tailwind
colors: {
  custom: {
    50: '#839b5c',
    500: '#4e7317',
    950: '#000000',
  },
}
SCSS
$custom: #4e7317;
$custom-light: #839b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7317",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 84.13,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.12452,
    "h": 129.6
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#4E7317
secondary
#683DA9
accent
#3EEA83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7317

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

Preview Lab → · Contrast checker → · Palette generator →

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