#4D6B16#4D6B16

#4D6B16 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.7% C 0.115 H 127.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4D6B16
RGBrgb(77, 107, 22)
HSLhsl(81, 66%, 25%)
HSVhsv(81, 79%, 42%)
CMYKcmyk(28%, 0%, 79.4%, 58%)
CIE-LABlab(41.45, -24.38, 41.04)
CIE-LCHlch(41.45, 47.73, 120.71°)
OKLaboklab(48.71% -0.0701 0.0911)
OKLCHoklch(48.71% 0.115 127.6)
XYZxyz(8.4631, 12.1509, 2.6584)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6B16 #34166B
analogous
#6B5E16 #4D6B16 #236B16
triadic
#4D6B16 #164D6B #6B164D
tetradic
#4D6B16 #166B5E #34166B #6B1623
square
#4D6B16 #166B5E #34166B #6B1623
split-complementary
#4D6B16 #16236B #5E166B
monochromatic
#121905 #28380C #4D6B16 #729E20 #96D12B

Accessibility & contrast

On white

6.12
#4D6B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4D6B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6B16
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6B16#FFFFFF#000000##FFFFFF
##4D6B161.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716304
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#50665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d6b16;
/* rgb */ color: rgb(77, 107, 22);
/* oklch */ color: oklch(48.7% 0.115 127.6);
Tailwind
colors: {
  custom: {
    50: '#82955b',
    500: '#4d6b16',
    950: '#000000',
  },
}
SCSS
$custom: #4d6b16;
$custom-light: #82955b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6b16",
  "rgb": {
    "r": 77,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 81.176,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48706,
    "c": 0.11491,
    "h": 127.6
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#4D6B16
secondary
#5F3BA1
accent
#3FE97B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6B16

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

Preview Lab → · Contrast checker → · Palette generator →

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