#4D5A0D#4D5A0D

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

Color values

HEX#4D5A0D
RGBrgb(77, 90, 13)
HSLhsl(70, 75%, 20%)
HSVhsv(70, 86%, 35%)
CMYKcmyk(14.4%, 0%, 85.6%, 64.7%)
CIE-LABlab(35.83, -15.94, 38.94)
CIE-LCHlch(35.83, 42.07, 112.26°)
OKLaboklab(44.14% -0.0478 0.085)
OKLCHoklch(44.14% 0.097 119.3)
XYZxyz(6.7895, 8.9192, 1.7446)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5A0D #1A0D5A
analogous
#5A400D #4D5A0D #265A0D
triadic
#4D5A0D #0D4D5A #5A0D4D
tetradic
#4D5A0D #0D5A40 #1A0D5A #5A0D26
square
#4D5A0D #0D5A40 #1A0D5A #5A0D26
split-complementary
#4D5A0D #0D265A #400D5A
monochromatic
#171B04 #1F2505 #4D5A0D #7B8F15 #A9C51C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5A0D#FFFFFF#000000##FFFFFF
##4D5A0D1.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)
#5F5415
Tritanopia (blue-blind)
#52554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d5a0d;
/* rgb */ color: rgb(77, 90, 13);
/* oklch */ color: oklch(44.1% 0.097 119.3);
Tailwind
colors: {
  custom: {
    50: '#828854',
    500: '#4d5a0d',
    950: '#000000',
  },
}
SCSS
$custom: #4d5a0d;
$custom-light: #828854;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5a0d",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 13
  },
  "hsl": {
    "h": 70.13,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.44136,
    "c": 0.09749,
    "h": 119.3
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#4D5A0D
secondary
#402E94
accent
#36F156
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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