#4D5A0F#4D5A0F

#4D5A0F is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.1% C 0.096 H 119.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4D5A0F
RGBrgb(77, 90, 15)
HSLhsl(70, 71%, 21%)
HSVhsv(70, 83%, 35%)
CMYKcmyk(14.4%, 0%, 83.3%, 64.7%)
CIE-LABlab(35.84, -15.84, 38.28)
CIE-LCHlch(35.84, 41.43, 112.49°)
OKLaboklab(44.15% -0.0473 0.084)
OKLCHoklch(44.15% 0.096 119.4)
XYZxyz(6.8031, 8.9246, 1.8161)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5A0F #1C0F5A
analogous
#5A410F #4D5A0F #275A0F
triadic
#4D5A0F #0F4D5A #5A0F4D
tetradic
#4D5A0F #0F5A41 #1C0F5A #5A0F27
square
#4D5A0F #0F5A41 #1C0F5A #5A0F27
split-complementary
#4D5A0F #0F275A #410F5A
monochromatic
#161A04 #202606 #4D5A0F #7A8E18 #A7C320

Accessibility & contrast

On white

7.54
#4D5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4D5A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5A0F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5A0F#FFFFFF#000000##FFFFFF
##4D5A0F1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#52554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d5a0f;
/* rgb */ color: rgb(77, 90, 15);
/* oklch */ color: oklch(44.1% 0.096 119.4);
Tailwind
colors: {
  custom: {
    50: '#818855',
    500: '#4d5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4d5a0f;
$custom-light: #818855;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5a0f",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 70.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.44148,
    "c": 0.0964,
    "h": 119.4
  },
  "luminance": 0.08925
}

Semantic roles & 50–950 ramp

primary
#4D5A0F
secondary
#423194
accent
#3AEE59
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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