#4E7E17#4E7E17

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

Color values

HEX#4E7E17
RGBrgb(78, 126, 23)
HSLhsl(88, 69%, 29%)
HSVhsv(88, 82%, 49%)
CMYKcmyk(38.1%, 0%, 81.7%, 50.6%)
CIE-LABlab(47.76, -32.95, 46.65)
CIE-LCHlch(47.76, 57.11, 125.24°)
OKLaboklab(53.86% -0.0933 0.103)
OKLCHoklch(53.86% 0.139 132.2)
XYZxyz(10.7573, 16.6028, 3.4483)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E17 #47177E
analogous
#7E7B17 #4E7E17 #1B7E17
triadic
#4E7E17 #174E7E #7E174E
tetradic
#4E7E17 #177E7B #47177E #7E171B
square
#4E7E17 #177E7B #47177E #7E171B
split-complementary
#4E7E17 #171B7E #7B177E
monochromatic
#101A05 #2E4A0E #4E7E17 #6EB220 #8DDA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7E17#FFFFFF#000000##FFFFFF
##4E7E171.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: #4e7e17;
/* rgb */ color: rgb(78, 126, 23);
/* oklch */ color: oklch(53.9% 0.139 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a45e',
    500: '#4e7e17',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e17;
$custom-light: #84a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e17",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 87.961,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.13896,
    "h": 132.2
  },
  "luminance": 0.16603
}

Semantic roles & 50–950 ramp

primary
#4E7E17
secondary
#743EB3
accent
#3CEC8E
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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