#4E8310#4E8310

#4E8310 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.148 H 132.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4E8310
RGBrgb(78, 131, 16)
HSLhsl(88, 78%, 29%)
HSVhsv(88, 88%, 51%)
CMYKcmyk(40.5%, 0%, 87.8%, 48.6%)
CIE-LABlab(49.36, -35.50, 50.05)
CIE-LCHlch(49.36, 61.36, 125.34°)
OKLaboklab(55.16% -0.1005 0.1091)
OKLCHoklch(55.16% 0.148 132.7)
XYZxyz(11.3516, 17.8892, 3.3449)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8310 #451083
analogous
#837F10 #4E8310 #158310
triadic
#4E8310 #104E83 #83104E
tetradic
#4E8310 #10837F #451083 #831015
square
#4E8310 #10837F #451083 #831015
split-complementary
#4E8310 #101583 #7F1083
monochromatic
#101B03 #2E4C09 #4E8310 #6EBA17 #8EE529

Accessibility & contrast

On white

4.59
#4E8310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4E8310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8310
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8310#FFFFFF#000000##FFFFFF
##4E83101.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#4F7D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e8310;
/* rgb */ color: rgb(78, 131, 16);
/* oklch */ color: oklch(55.2% 0.148 132.7);
Tailwind
colors: {
  custom: {
    50: '#85a75c',
    500: '#4e8310',
    950: '#000000',
  },
}
SCSS
$custom: #4e8310;
$custom-light: #85a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8310",
  "rgb": {
    "r": 78,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 87.652,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.14836,
    "h": 132.7
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#4E8310
secondary
#7236B9
accent
#33F58C
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #4E8310

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

Preview Lab → · Contrast checker → · Palette generator →

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