#4D5916#4D5916

#4D5916 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.9% C 0.090 H 119.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4D5916
RGBrgb(77, 89, 22)
HSLhsl(71, 60%, 22%)
HSVhsv(71, 75%, 35%)
CMYKcmyk(13.5%, 0%, 75.3%, 65.1%)
CIE-LABlab(35.56, -14.89, 35.29)
CIE-LCHlch(35.56, 38.30, 112.88°)
OKLaboklab(43.94% -0.044 0.079)
OKLCHoklch(43.94% 0.09 119.1)
XYZxyz(6.7779, 8.7805, 2.0966)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5916 #221659
analogous
#594416 #4D5916 #2C5916
triadic
#4D5916 #164D59 #59164D
tetradic
#4D5916 #165944 #221659 #59162C
square
#4D5916 #165944 #221659 #59162C
split-complementary
#4D5916 #162C59 #441659
monochromatic
#151906 #23280A #4D5916 #778A22 #A2BB2E

Accessibility & contrast

On white

7.62
#4D5916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D5916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5916
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5916#FFFFFF#000000##FFFFFF
##4D59161.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540B
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#52544C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d5916;
/* rgb */ color: rgb(77, 89, 22);
/* oklch */ color: oklch(43.9% 0.090 119.1);
Tailwind
colors: {
  custom: {
    50: '#818758',
    500: '#4d5916',
    950: '#000000',
  },
}
SCSS
$custom: #4d5916;
$custom-light: #818758;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5916",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 22
  },
  "hsl": {
    "h": 70.746,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43937,
    "c": 0.09044,
    "h": 119.1
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#4D5916
secondary
#4A3B90
accent
#44E461
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5916

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

Preview Lab → · Contrast checker → · Palette generator →

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