#4E7F16#4E7F16

#4E7F16 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.141 H 132.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4E7F16
RGBrgb(78, 127, 22)
HSLhsl(88, 70%, 29%)
HSVhsv(88, 83%, 50%)
CMYKcmyk(38.6%, 0%, 82.7%, 50.2%)
CIE-LABlab(48.08, -33.46, 47.26)
CIE-LCHlch(48.08, 57.90, 125.30°)
OKLaboklab(54.12% -0.0947 0.1041)
OKLCHoklch(54.12% 0.141 132.3)
XYZxyz(10.8759, 16.8559, 3.4394)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F16 #47167F
analogous
#7F7C16 #4E7F16 #1A7F16
triadic
#4E7F16 #164E7F #7F164E
tetradic
#4E7F16 #167F7C #47167F #7F161A
square
#4E7F16 #167F7C #47167F #7F161A
split-complementary
#4E7F16 #161A7F #7C167F
monochromatic
#101A05 #2E4B0D #4E7F16 #6EB31F #8DDC34

Accessibility & contrast

On white

4.80
#4E7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4E7F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F16
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F16#FFFFFF#000000##FFFFFF
##4E7F161.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f16;
/* rgb */ color: rgb(78, 127, 22);
/* oklch */ color: oklch(54.1% 0.141 132.3);
Tailwind
colors: {
  custom: {
    50: '#84a45e',
    500: '#4e7f16',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f16;
$custom-light: #84a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f16",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 88,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.14075,
    "h": 132.3
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#4E7F16
secondary
#743DB4
accent
#3BED8E
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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