#4F500D#4F500D

#4F500D is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.084 H 110.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4F500D
RGBrgb(79, 80, 13)
HSLhsl(61, 72%, 18%)
HSVhsv(61, 84%, 31%)
CMYKcmyk(1.2%, 0%, 83.7%, 68.6%)
CIE-LABlab(32.76, -9.28, 36.24)
CIE-LCHlch(32.76, 37.41, 104.37°)
OKLaboklab(41.72% -0.0295 0.0792)
OKLCHoklch(41.72% 0.084 110.4)
XYZxyz(6.1660, 7.4288, 1.4898)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F500D #0E0D50
analogous
#502F0D #4F500D #2D500D
triadic
#4F500D #0D4F50 #500D4F
tetradic
#4F500D #0D502F #0E0D50 #500D2D
square
#4F500D #0D502F #0E0D50 #500D2D
split-complementary
#4F500D #0D2D50 #2F0D50
monochromatic
#1A1A04 #1B1B04 #4F500D #838516 #B7B91E

Accessibility & contrast

On white

8.45
#4F500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4F500D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F500D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F500D#FFFFFF#000000##FFFFFF
##4F500D1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#554A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f500d;
/* rgb */ color: rgb(79, 80, 13);
/* oklch */ color: oklch(41.7% 0.084 110.4);
Tailwind
colors: {
  custom: {
    50: '#838052',
    500: '#4f500d',
    950: '#000000',
  },
}
SCSS
$custom: #4f500d;
$custom-light: #838052;
$custom-dark: #000000;
JSON
{
  "hex": "#4f500d",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 60.896,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.4172,
    "c": 0.08447,
    "h": 110.4
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#4F500D
secondary
#2F2E8B
accent
#39EF3C
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A02
muted
#7C7C78

Preview Lab

Preview with #4F500D

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

Preview Lab → · Contrast checker → · Palette generator →

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