#4D6515#4D6515

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

Color values

HEX#4D6515
RGBrgb(77, 101, 21)
HSLhsl(78, 66%, 24%)
HSVhsv(78, 79%, 40%)
CMYKcmyk(23.8%, 0%, 79.2%, 60.4%)
CIE-LABlab(39.48, -21.39, 39.52)
CIE-LCHlch(39.48, 44.94, 118.42°)
OKLaboklab(47.1% -0.062 0.0877)
OKLCHoklch(47.1% 0.107 125.3)
XYZxyz(7.8497, 10.9392, 2.4072)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6515 #2D1565
analogous
#655515 #4D6515 #256515
triadic
#4D6515 #154D65 #65154D
tetradic
#4D6515 #156555 #2D1565 #651525
square
#4D6515 #156555 #2D1565 #651525
split-complementary
#4D6515 #152565 #551565
monochromatic
#131905 #26320A #4D6515 #749820 #9ACA2A

Accessibility & contrast

On white

6.59
#4D6515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4D6515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6515
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6515#FFFFFF#000000##FFFFFF
##4D65151.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#516056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d6515;
/* rgb */ color: rgb(77, 101, 21);
/* oklch */ color: oklch(47.1% 0.107 125.3);
Tailwind
colors: {
  custom: {
    50: '#829159',
    500: '#4d6515',
    950: '#000000',
  },
}
SCSS
$custom: #4d6515;
$custom-light: #829159;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6515",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 78,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.471,
    "c": 0.10741,
    "h": 125.3
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#4D6515
secondary
#573A9C
accent
#3FE972
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6515

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

Preview Lab → · Contrast checker → · Palette generator →

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