#4E7E16#4E7E16

#4E7E16 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.139 H 132.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E7E16
RGBrgb(78, 126, 22)
HSLhsl(88, 70%, 29%)
HSVhsv(88, 83%, 49%)
CMYKcmyk(38.1%, 0%, 82.5%, 50.6%)
CIE-LABlab(47.75, -33.00, 46.96)
CIE-LCHlch(47.75, 57.40, 125.10°)
OKLaboklab(53.85% -0.0935 0.1035)
OKLCHoklch(53.85% 0.139 132.1)
XYZxyz(10.7474, 16.5989, 3.3965)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E16 #46167E
analogous
#7E7A16 #4E7E16 #1A7E16
triadic
#4E7E16 #164E7E #7E164E
tetradic
#4E7E16 #167E7A #46167E #7E161A
square
#4E7E16 #167E7A #46167E #7E161A
split-complementary
#4E7E16 #161A7E #7A167E
monochromatic
#101A05 #2E4A0D #4E7E16 #6EB21F #8EDB33

Accessibility & contrast

On white

4.86
#4E7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4E7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E16
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E16#FFFFFF#000000##FFFFFF
##4E7E161.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#4F786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e16;
/* rgb */ color: rgb(78, 126, 22);
/* oklch */ color: oklch(53.9% 0.139 132.1);
Tailwind
colors: {
  custom: {
    50: '#84a45d',
    500: '#4e7e16',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e16;
$custom-light: #84a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e16",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 87.692,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53852,
    "c": 0.13946,
    "h": 132.1
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#4E7E16
secondary
#733DB3
accent
#3BED8D
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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