#4D6915#4D6915

#4D6915 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.113 H 126.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4D6915
RGBrgb(77, 105, 21)
HSLhsl(80, 67%, 25%)
HSVhsv(80, 80%, 41%)
CMYKcmyk(26.7%, 0%, 80%, 58.8%)
CIE-LABlab(40.79, -23.43, 40.77)
CIE-LCHlch(40.79, 47.02, 119.89°)
OKLaboklab(48.17% -0.0676 0.0903)
OKLCHoklch(48.17% 0.113 126.8)
XYZxyz(8.2475, 11.7349, 2.5399)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6915 #311569
analogous
#695B15 #4D6915 #236915
triadic
#4D6915 #154D69 #69154D
tetradic
#4D6915 #15695B #311569 #691523
square
#4D6915 #15695B #311569 #691523
split-complementary
#4D6915 #152369 #5B1569
monochromatic
#131A05 #28360B #4D6915 #729C1F #98CF29

Accessibility & contrast

On white

6.27
#4D6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6915
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6915#FFFFFF#000000##FFFFFF
##4D69151.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6103
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#506459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d6915;
/* rgb */ color: rgb(77, 105, 21);
/* oklch */ color: oklch(48.2% 0.113 126.8);
Tailwind
colors: {
  custom: {
    50: '#82945a',
    500: '#4d6915',
    950: '#000000',
  },
}
SCSS
$custom: #4d6915;
$custom-light: #82945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6915",
  "rgb": {
    "r": 77,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 80,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48165,
    "c": 0.11281,
    "h": 126.8
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#4D6915
secondary
#5C3AA0
accent
#3EEA77
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6915

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

Preview Lab → · Contrast checker → · Palette generator →

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