#4B6517#4B6517

#4B6517 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.0% C 0.107 H 126.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4B6517
RGBrgb(75, 101, 23)
HSLhsl(80, 63%, 24%)
HSVhsv(80, 77%, 40%)
CMYKcmyk(25.7%, 0%, 77.2%, 60.4%)
CIE-LABlab(39.35, -22.14, 38.58)
CIE-LCHlch(39.35, 44.48, 119.86°)
OKLaboklab(46.97% -0.0638 0.0861)
OKLCHoklch(46.97% 0.107 126.5)
XYZxyz(7.7100, 10.8649, 2.5014)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6517 #311765
analogous
#655817 #4B6517 #246517
triadic
#4B6517 #174B65 #65174B
tetradic
#4B6517 #176558 #311765 #651724
square
#4B6517 #176558 #311765 #651724
split-complementary
#4B6517 #172465 #581765
monochromatic
#131906 #26330C #4B6517 #709722 #95C92E

Accessibility & contrast

On white

6.62
#4B6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4B6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6517
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6517#FFFFFF#000000##FFFFFF
##4B65171.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#4E6056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4b6517;
/* rgb */ color: rgb(75, 101, 23);
/* oklch */ color: oklch(47.0% 0.107 126.5);
Tailwind
colors: {
  custom: {
    50: '#80915a',
    500: '#4b6517',
    950: '#000000',
  },
}
SCSS
$custom: #4b6517;
$custom-light: #80915a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6517",
  "rgb": {
    "r": 75,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 80,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46966,
    "c": 0.10717,
    "h": 126.5
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#4B6517
secondary
#5C3C9B
accent
#42E679
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4B6517

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

Preview Lab → · Contrast checker → · Palette generator →

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