#4D5D0F#4D5D0F

#4D5D0F is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.9% C 0.100 H 121.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4D5D0F
RGBrgb(77, 93, 15)
HSLhsl(72, 72%, 21%)
HSVhsv(72, 84%, 36%)
CMYKcmyk(17.2%, 0%, 83.9%, 63.5%)
CIE-LABlab(36.82, -17.48, 39.17)
CIE-LCHlch(36.82, 42.90, 114.05°)
OKLaboklab(44.94% -0.0518 0.0859)
OKLCHoklch(44.94% 0.1 121.1)
XYZxyz(7.0613, 9.4410, 1.9021)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5D0F #1F0F5D
analogous
#5D460F #4D5D0F #265D0F
triadic
#4D5D0F #0F4D5D #5D0F4D
tetradic
#4D5D0F #0F5D46 #1F0F5D #5D0F26
square
#4D5D0F #0F5D46 #1F0F5D #5D0F26
split-complementary
#4D5D0F #0F265D #460F5D
monochromatic
#161A04 #212806 #4D5D0F #799217 #A4C620

Accessibility & contrast

On white

7.27
#4D5D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4D5D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5D0F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5D0F#FFFFFF#000000##FFFFFF
##4D5D0F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#615717
Tritanopia (blue-blind)
#52584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d5d0f;
/* rgb */ color: rgb(77, 93, 15);
/* oklch */ color: oklch(44.9% 0.100 121.1);
Tailwind
colors: {
  custom: {
    50: '#828a55',
    500: '#4d5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #4d5d0f;
$custom-light: #828a55;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5d0f",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 72.308,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.10029,
    "h": 121.1
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#4D5D0F
secondary
#463196
accent
#39EF5E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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