#4E7117#4E7117

#4E7117 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.122 H 129.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4E7117
RGBrgb(78, 113, 23)
HSLhsl(83, 66%, 27%)
HSVhsv(83, 80%, 44%)
CMYKcmyk(31%, 0%, 79.6%, 55.7%)
CIE-LABlab(43.49, -26.86, 42.65)
CIE-LCHlch(43.49, 50.40, 122.20°)
OKLaboklab(50.38% -0.0768 0.0946)
OKLCHoklch(50.38% 0.122 129.1)
XYZxyz(9.2016, 13.4916, 2.9298)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7117 #3A1771
analogous
#716717 #4E7117 #217117
triadic
#4E7117 #174E71 #71174E
tetradic
#4E7117 #177167 #3A1771 #711721
square
#4E7117 #177167 #3A1771 #711721
split-complementary
#4E7117 #172171 #671771
monochromatic
#121905 #2B3E0D #4E7117 #71A421 #94D42E

Accessibility & contrast

On white

5.68
#4E7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7117
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7117#FFFFFF#000000##FFFFFF
##4E71171.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776803
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#516C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e7117;
/* rgb */ color: rgb(78, 113, 23);
/* oklch */ color: oklch(50.4% 0.122 129.1);
Tailwind
colors: {
  custom: {
    50: '#839a5c',
    500: '#4e7117',
    950: '#000000',
  },
}
SCSS
$custom: #4e7117;
$custom-light: #839a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7117",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 83.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.12184,
    "h": 129.1
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#4E7117
secondary
#663DA7
accent
#3FE981
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7117

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

Preview Lab → · Contrast checker → · Palette generator →

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