#4D6715#4D6715

#4D6715 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.110 H 126.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4D6715
RGBrgb(77, 103, 21)
HSLhsl(79, 66%, 24%)
HSVhsv(79, 80%, 40%)
CMYKcmyk(25.2%, 0%, 79.6%, 59.6%)
CIE-LABlab(40.13, -22.42, 40.15)
CIE-LCHlch(40.13, 45.98, 119.18°)
OKLaboklab(47.63% -0.0648 0.089)
OKLCHoklch(47.63% 0.11 126)
XYZxyz(8.0462, 11.3323, 2.4728)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6715 #2F1567
analogous
#675815 #4D6715 #246715
triadic
#4D6715 #154D67 #67154D
tetradic
#4D6715 #156758 #2F1567 #671524
square
#4D6715 #156758 #2F1567 #671524
split-complementary
#4D6715 #152467 #581567
monochromatic
#131905 #27340B #4D6715 #739A1F #99CD2A

Accessibility & contrast

On white

6.43
#4D6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4D6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6715
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6715#FFFFFF#000000##FFFFFF
##4D67151.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6004
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#516257
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6715;
/* rgb */ color: rgb(77, 103, 21);
/* oklch */ color: oklch(47.6% 0.110 126.0);
Tailwind
colors: {
  custom: {
    50: '#829259',
    500: '#4d6715',
    950: '#000000',
  },
}
SCSS
$custom: #4d6715;
$custom-light: #829259;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6715",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 79.024,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47632,
    "c": 0.11012,
    "h": 126
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#4D6715
secondary
#5A3A9E
accent
#3FE975
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6715

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

Preview Lab → · Contrast checker → · Palette generator →

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