#4D7515#4D7515

#4D7515 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.4% C 0.129 H 130.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4D7515
RGBrgb(77, 117, 21)
HSLhsl(85, 70%, 27%)
HSVhsv(85, 82%, 46%)
CMYKcmyk(34.2%, 0%, 82.1%, 54.1%)
CIE-LABlab(44.74, -29.29, 44.47)
CIE-LCHlch(44.74, 53.25, 123.37°)
OKLaboklab(51.38% -0.0835 0.0981)
OKLCHoklch(51.38% 0.129 130.4)
XYZxyz(9.5572, 14.3542, 2.9764)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7515 #3D1575
analogous
#756D15 #4D7515 #1D7515
triadic
#4D7515 #154D75 #75154D
tetradic
#4D7515 #15756D #3D1575 #75151D
square
#4D7515 #15756D #3D1575 #75151D
split-complementary
#4D7515 #151D75 #6D1575
monochromatic
#111A05 #2B410C #4D7515 #6FA91E #91D92B

Accessibility & contrast

On white

5.42
#4D7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4D7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7515
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7515#FFFFFF#000000##FFFFFF
##4D75151.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#4F7063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d7515;
/* rgb */ color: rgb(77, 117, 21);
/* oklch */ color: oklch(51.4% 0.129 130.4);
Tailwind
colors: {
  custom: {
    50: '#839d5c',
    500: '#4d7515',
    950: '#000000',
  },
}
SCSS
$custom: #4d7515;
$custom-light: #839d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7515",
  "rgb": {
    "r": 77,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 85,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.12881,
    "h": 130.4
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#4D7515
secondary
#6A3BAB
accent
#3BEC85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4D7515

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

Preview Lab → · Contrast checker → · Palette generator →

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