#4B6515#4B6515

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

Color values

HEX#4B6515
RGBrgb(75, 101, 21)
HSLhsl(80, 66%, 24%)
HSVhsv(80, 79%, 40%)
CMYKcmyk(25.7%, 0%, 79.2%, 60.4%)
CIE-LABlab(39.34, -22.27, 39.34)
CIE-LCHlch(39.34, 45.20, 119.51°)
OKLaboklab(46.95% -0.0643 0.0874)
OKLCHoklch(46.95% 0.108 126.3)
XYZxyz(7.6907, 10.8572, 2.3998)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6515 #2F1565
analogous
#655715 #4B6515 #236515
triadic
#4B6515 #154B65 #65154B
tetradic
#4B6515 #156557 #2F1565 #651523
square
#4B6515 #156557 #2F1565 #651523
split-complementary
#4B6515 #152365 #571565
monochromatic
#131905 #25320A #4B6515 #719820 #96CA2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B6515#FFFFFF#000000##FFFFFF
##4B65151.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)
#6B5E04
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#4E6056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4b6515;
/* rgb */ color: rgb(75, 101, 21);
/* oklch */ color: oklch(47.0% 0.108 126.3);
Tailwind
colors: {
  custom: {
    50: '#809159',
    500: '#4b6515',
    950: '#000000',
  },
}
SCSS
$custom: #4b6515;
$custom-light: #809159;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6515",
  "rgb": {
    "r": 75,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 79.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46951,
    "c": 0.10847,
    "h": 126.3
  },
  "luminance": 0.10857
}

Semantic roles & 50–950 ramp

primary
#4B6515
secondary
#5A3A9C
accent
#3FE976
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4B6515

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

Preview Lab → · Contrast checker → · Palette generator →

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