#4D5B0F#4D5B0F

#4D5B0F is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.4% C 0.098 H 120.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4D5B0F
RGBrgb(77, 91, 15)
HSLhsl(71, 72%, 21%)
HSVhsv(71, 84%, 36%)
CMYKcmyk(15.4%, 0%, 83.5%, 64.3%)
CIE-LABlab(36.17, -16.39, 38.58)
CIE-LCHlch(36.17, 41.91, 113.02°)
OKLaboklab(44.41% -0.0488 0.0846)
OKLCHoklch(44.41% 0.098 120)
XYZxyz(6.8880, 9.0945, 1.8444)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5B0F #1D0F5B
analogous
#5B430F #4D5B0F #275B0F
triadic
#4D5B0F #0F4D5B #5B0F4D
tetradic
#4D5B0F #0F5B43 #1D0F5B #5B0F27
square
#4D5B0F #0F5B43 #1D0F5B #5B0F27
split-complementary
#4D5B0F #0F275B #430F5B
monochromatic
#161A04 #212606 #4D5B0F #799018 #A6C420

Accessibility & contrast

On white

7.45
#4D5B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4D5B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5B0F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5B0F#FFFFFF#000000##FFFFFF
##4D5B0F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#605516
Tritanopia (blue-blind)
#52564D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d5b0f;
/* rgb */ color: rgb(77, 91, 15);
/* oklch */ color: oklch(44.4% 0.098 120.0);
Tailwind
colors: {
  custom: {
    50: '#818955',
    500: '#4d5b0f',
    950: '#000000',
  },
}
SCSS
$custom: #4d5b0f;
$custom-light: #818955;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5b0f",
  "rgb": {
    "r": 77,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 71.053,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.09769,
    "h": 120
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#4D5B0F
secondary
#443195
accent
#39EE5B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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