#4E7D17#4E7D17

#4E7D17 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.138 H 132.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4E7D17
RGBrgb(78, 125, 23)
HSLhsl(88, 69%, 29%)
HSVhsv(88, 82%, 49%)
CMYKcmyk(37.6%, 0%, 81.6%, 51%)
CIE-LABlab(47.43, -32.50, 46.34)
CIE-LCHlch(47.43, 56.60, 125.04°)
OKLaboklab(53.59% -0.0921 0.1024)
OKLCHoklch(53.59% 0.138 132)
XYZxyz(10.6300, 16.3483, 3.4059)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D17 #46177D
analogous
#7D7917 #4E7D17 #1B7D17
triadic
#4E7D17 #174E7D #7D174E
tetradic
#4E7D17 #177D79 #46177D #7D171B
square
#4E7D17 #177D79 #46177D #7D171B
split-complementary
#4E7D17 #171B7D #79177D
monochromatic
#101A05 #2E490D #4E7D17 #6EB121 #8EDA35

Accessibility & contrast

On white

4.92
#4E7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4E7D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D17
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D17#FFFFFF#000000##FFFFFF
##4E7D171.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#4F786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7d17;
/* rgb */ color: rgb(78, 125, 23);
/* oklch */ color: oklch(53.6% 0.138 132.0);
Tailwind
colors: {
  custom: {
    50: '#84a35e',
    500: '#4e7d17',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d17;
$custom-light: #84a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d17",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 87.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.13767,
    "h": 132
  },
  "luminance": 0.16349
}

Semantic roles & 50–950 ramp

primary
#4E7D17
secondary
#733EB2
accent
#3CEC8D
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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