#4D6216#4D6216

#4D6216 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.3% C 0.103 H 124.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4D6216
RGBrgb(77, 98, 22)
HSLhsl(77, 63%, 24%)
HSVhsv(77, 78%, 38%)
CMYKcmyk(21.4%, 0%, 77.6%, 61.6%)
CIE-LABlab(38.50, -19.76, 38.19)
CIE-LCHlch(38.50, 43.00, 117.36°)
OKLaboklab(46.31% -0.0574 0.0851)
OKLCHoklch(46.31% 0.103 124)
XYZxyz(7.5731, 10.3710, 2.3617)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6216 #2B1662
analogous
#625116 #4D6216 #276216
triadic
#4D6216 #164D62 #62164D
tetradic
#4D6216 #166251 #2B1662 #621627
square
#4D6216 #166251 #2B1662 #621627
split-complementary
#4D6216 #162762 #511662
monochromatic
#141906 #26300B #4D6216 #749421 #9CC62C

Accessibility & contrast

On white

6.83
#4D6216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D6216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6216
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6216#FFFFFF#000000##FFFFFF
##4D62161.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B07
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#515D53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d6216;
/* rgb */ color: rgb(77, 98, 22);
/* oklch */ color: oklch(46.3% 0.103 124.0);
Tailwind
colors: {
  custom: {
    50: '#818e59',
    500: '#4d6216',
    950: '#000000',
  },
}
SCSS
$custom: #4d6216;
$custom-light: #818e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6216",
  "rgb": {
    "r": 77,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 76.579,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.10268,
    "h": 124
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#4D6216
secondary
#553B99
accent
#41E66F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6216

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

Preview Lab → · Contrast checker → · Palette generator →

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