#4E6717#4E6717

#4E6717 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.7% C 0.108 H 125.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4E6717
RGBrgb(78, 103, 23)
HSLhsl(79, 63%, 25%)
HSVhsv(79, 78%, 40%)
CMYKcmyk(24.3%, 0%, 77.7%, 59.6%)
CIE-LABlab(40.22, -21.86, 39.49)
CIE-LCHlch(40.22, 45.14, 118.96°)
OKLaboklab(47.72% -0.0632 0.088)
OKLCHoklch(47.72% 0.108 125.7)
XYZxyz(8.1468, 11.3819, 2.5782)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6717 #301767
analogous
#675817 #4E6717 #266717
triadic
#4E6717 #174E67 #67174E
tetradic
#4E6717 #176758 #301767 #671726
square
#4E6717 #176758 #301767 #671726
split-complementary
#4E6717 #172667 #581767
monochromatic
#131906 #28350C #4E6717 #749922 #9ACB2D

Accessibility & contrast

On white

6.41
#4E6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4E6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6717
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6717#FFFFFF#000000##FFFFFF
##4E67171.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#6A5E1E
Tritanopia (blue-blind)
#526258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e6717;
/* rgb */ color: rgb(78, 103, 23);
/* oklch */ color: oklch(47.7% 0.108 125.7);
Tailwind
colors: {
  custom: {
    50: '#82925a',
    500: '#4e6717',
    950: '#000000',
  },
}
SCSS
$custom: #4e6717;
$custom-light: #82925a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6717",
  "rgb": {
    "r": 78,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 78.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4772,
    "c": 0.10832,
    "h": 125.7
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#4E6717
secondary
#5B3D9D
accent
#41E775
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4E6717

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

Preview Lab → · Contrast checker → · Palette generator →

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