#4E7C17#4E7C17

#4E7C17 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.136 H 131.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E7C17
RGBrgb(78, 124, 23)
HSLhsl(87, 69%, 29%)
HSVhsv(87, 81%, 49%)
CMYKcmyk(37.1%, 0%, 81.5%, 51.4%)
CIE-LABlab(47.10, -32.04, 46.04)
CIE-LCHlch(47.10, 56.09, 124.84°)
OKLaboklab(53.32% -0.0908 0.1017)
OKLCHoklch(53.32% 0.136 131.8)
XYZxyz(10.5041, 16.0964, 3.3639)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C17 #45177C
analogous
#7C7817 #4E7C17 #1C7C17
triadic
#4E7C17 #174E7C #7C174E
tetradic
#4E7C17 #177C78 #45177C #7C171C
square
#4E7C17 #177C78 #45177C #7C171C
split-complementary
#4E7C17 #171C7C #78177C
monochromatic
#101A05 #2E480D #4E7C17 #6EB021 #8ED934

Accessibility & contrast

On white

4.98
#4E7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4E7C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C17#FFFFFF#000000##FFFFFF
##4E7C171.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#4F7769
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c17;
/* rgb */ color: rgb(78, 124, 23);
/* oklch */ color: oklch(53.3% 0.136 131.8);
Tailwind
colors: {
  custom: {
    50: '#84a25e',
    500: '#4e7c17',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c17;
$custom-light: #84a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c17",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 87.327,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.13637,
    "h": 131.8
  },
  "luminance": 0.16097
}

Semantic roles & 50–950 ramp

primary
#4E7C17
secondary
#723EB1
accent
#3CEC8C
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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