#4D7315#4D7315

#4D7315 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.8% C 0.126 H 129.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4D7315
RGBrgb(77, 115, 21)
HSLhsl(84, 69%, 27%)
HSVhsv(84, 82%, 45%)
CMYKcmyk(33%, 0%, 81.7%, 54.9%)
CIE-LABlab(44.08, -28.34, 43.86)
CIE-LCHlch(44.08, 52.22, 122.87°)
OKLaboklab(50.84% -0.0809 0.0968)
OKLCHoklch(50.84% 0.126 129.9)
XYZxyz(9.3266, 13.8931, 2.8996)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7315 #3B1573
analogous
#736A15 #4D7315 #1E7315
triadic
#4D7315 #154D73 #73154D
tetradic
#4D7315 #15736A #3B1573 #73151E
square
#4D7315 #15736A #3B1573 #73151E
split-complementary
#4D7315 #151E73 #6A1573
monochromatic
#111A05 #2A3F0C #4D7315 #70A71E #92D82A

Accessibility & contrast

On white

5.56
#4D7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4D7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7315
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7315#FFFFFF#000000##FFFFFF
##4D73151.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#74671F
Tritanopia (blue-blind)
#4F6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d7315;
/* rgb */ color: rgb(77, 115, 21);
/* oklch */ color: oklch(50.8% 0.126 129.9);
Tailwind
colors: {
  custom: {
    50: '#839b5b',
    500: '#4d7315',
    950: '#000000',
  },
}
SCSS
$custom: #4d7315;
$custom-light: #839b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7315",
  "rgb": {
    "r": 77,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 84.255,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.12619,
    "h": 129.9
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#4D7315
secondary
#673BA9
accent
#3CEC83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7315

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

Preview Lab → · Contrast checker → · Palette generator →

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