#4E7F17#4E7F17

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

Color values

HEX#4E7F17
RGBrgb(78, 127, 23)
HSLhsl(88, 69%, 29%)
HSVhsv(88, 82%, 50%)
CMYKcmyk(38.6%, 0%, 81.9%, 50.2%)
CIE-LABlab(48.08, -33.40, 46.95)
CIE-LCHlch(48.08, 57.62, 125.43°)
OKLaboklab(54.13% -0.0945 0.1036)
OKLCHoklch(54.13% 0.14 132.4)
XYZxyz(10.8858, 16.8598, 3.4911)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F17 #48177F
analogous
#7F7C17 #4E7F17 #1A7F17
triadic
#4E7F17 #174E7F #7F174E
tetradic
#4E7F17 #177F7C #48177F #7F171A
square
#4E7F17 #177F7C #48177F #7F171A
split-complementary
#4E7F17 #171A7F #7C177F
monochromatic
#101A05 #2E4B0E #4E7F17 #6EB320 #8DDB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7F17#FFFFFF#000000##FFFFFF
##4E7F171.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)
#7E7123
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f17;
/* rgb */ color: rgb(78, 127, 23);
/* oklch */ color: oklch(54.1% 0.140 132.4);
Tailwind
colors: {
  custom: {
    50: '#84a45e',
    500: '#4e7f17',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f17;
$custom-light: #84a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f17",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 88.269,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.14025,
    "h": 132.4
  },
  "luminance": 0.1686
}

Semantic roles & 50–950 ramp

primary
#4E7F17
secondary
#763EB4
accent
#3CEC8F
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7F17

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

Preview Lab → · Contrast checker → · Palette generator →

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