#4B6417#4B6417

#4B6417 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.7% C 0.106 H 126.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4B6417
RGBrgb(75, 100, 23)
HSLhsl(79, 63%, 24%)
HSVhsv(79, 77%, 39%)
CMYKcmyk(25%, 0%, 77%, 60.8%)
CIE-LABlab(39.02, -21.63, 38.26)
CIE-LCHlch(39.02, 43.95, 119.48°)
OKLaboklab(46.7% -0.0623 0.0855)
OKLCHoklch(46.7% 0.106 126.1)
XYZxyz(7.6135, 10.6719, 2.4692)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6417 #301764
analogous
#645717 #4B6417 #246417
triadic
#4B6417 #174B64 #64174B
tetradic
#4B6417 #176457 #301764 #641724
square
#4B6417 #176457 #301764 #641724
split-complementary
#4B6417 #172464 #571764
monochromatic
#131906 #26320C #4B6417 #709622 #96C82E

Accessibility & contrast

On white

6.70
#4B6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4B6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6417
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6417#FFFFFF#000000##FFFFFF
##4B64171.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#4E5F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4b6417;
/* rgb */ color: rgb(75, 100, 23);
/* oklch */ color: oklch(46.7% 0.106 126.1);
Tailwind
colors: {
  custom: {
    50: '#80905a',
    500: '#4b6417',
    950: '#000000',
  },
}
SCSS
$custom: #4b6417;
$custom-light: #80905a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6417",
  "rgb": {
    "r": 75,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 79.481,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46699,
    "c": 0.1058,
    "h": 126.1
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#4B6417
secondary
#5B3C9A
accent
#42E677
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4B6417

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

Preview Lab → · Contrast checker → · Palette generator →

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