#4D5C0F#4D5C0F

#4D5C0F is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.7% C 0.099 H 120.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4D5C0F
RGBrgb(77, 92, 15)
HSLhsl(72, 72%, 21%)
HSVhsv(72, 84%, 36%)
CMYKcmyk(16.3%, 0%, 83.7%, 63.9%)
CIE-LABlab(36.49, -16.94, 38.88)
CIE-LCHlch(36.49, 42.40, 113.54°)
OKLaboklab(44.68% -0.0503 0.0852)
OKLCHoklch(44.68% 0.099 120.6)
XYZxyz(6.9741, 9.2666, 1.8731)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5C0F #1E0F5C
analogous
#5C440F #4D5C0F #265C0F
triadic
#4D5C0F #0F4D5C #5C0F4D
tetradic
#4D5C0F #0F5C44 #1E0F5C #5C0F26
square
#4D5C0F #0F5C44 #1E0F5C #5C0F26
split-complementary
#4D5C0F #0F265C #440F5C
monochromatic
#161A04 #212706 #4D5C0F #799118 #A5C520

Accessibility & contrast

On white

7.36
#4D5C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4D5C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5C0F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5C0F#FFFFFF#000000##FFFFFF
##4D5C0F1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#615617
Tritanopia (blue-blind)
#52574E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d5c0f;
/* rgb */ color: rgb(77, 92, 15);
/* oklch */ color: oklch(44.7% 0.099 120.6);
Tailwind
colors: {
  custom: {
    50: '#828a55',
    500: '#4d5c0f',
    950: '#000000',
  },
}
SCSS
$custom: #4d5c0f;
$custom-light: #828a55;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5c0f",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 71.688,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44675,
    "c": 0.09899,
    "h": 120.6
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#4D5C0F
secondary
#453195
accent
#39EF5C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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