#4E8117#4E8117

#4E8117 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.143 H 132.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E8117
RGBrgb(78, 129, 23)
HSLhsl(89, 70%, 30%)
HSVhsv(89, 82%, 51%)
CMYKcmyk(39.5%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.74, -34.30, 47.55)
CIE-LCHlch(48.74, 58.63, 125.80°)
OKLaboklab(54.66% -0.0969 0.1049)
OKLCHoklch(54.66% 0.143 132.7)
XYZxyz(11.1466, 17.3816, 3.5781)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8117 #4A1781
analogous
#817F17 #4E8117 #198117
triadic
#4E8117 #174E81 #81174E
tetradic
#4E8117 #17817F #4A1781 #811719
square
#4E8117 #17817F #4A1781 #811719
split-complementary
#4E8117 #171981 #7F1781
monochromatic
#101A05 #2F4D0E #4E8117 #6DB520 #8CDB37

Accessibility & contrast

On white

4.69
#4E8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4E8117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8117
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8117#FFFFFF#000000##FFFFFF
##4E81171.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#4F7B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8117;
/* rgb */ color: rgb(78, 129, 23);
/* oklch */ color: oklch(54.7% 0.143 132.7);
Tailwind
colors: {
  custom: {
    50: '#85a65e',
    500: '#4e8117',
    950: '#000000',
  },
}
SCSS
$custom: #4e8117;
$custom-light: #85a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8117",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 88.868,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.14282,
    "h": 132.7
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#4E8117
secondary
#783EB5
accent
#3BED91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E8117

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

Preview Lab → · Contrast checker → · Palette generator →

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