#4F5015#4F5015

#4F5015 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.079 H 110.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4F5015
RGBrgb(79, 80, 21)
HSLhsl(61, 58%, 20%)
HSVhsv(61, 74%, 31%)
CMYKcmyk(1.2%, 0%, 73.7%, 68.6%)
CIE-LABlab(32.82, -8.84, 33.03)
CIE-LCHlch(32.82, 34.20, 104.98°)
OKLaboklab(41.78% -0.0274 0.074)
OKLCHoklch(41.78% 0.079 110.3)
XYZxyz(6.2287, 7.4539, 1.8200)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5015 #161550
analogous
#503415 #4F5015 #325015
triadic
#4F5015 #154F50 #50154F
tetradic
#4F5015 #155034 #161550 #501532
square
#4F5015 #155034 #161550 #501532
split-complementary
#4F5015 #153250 #341550
monochromatic
#181806 #1F2008 #4F5015 #7F8022 #AFB12E

Accessibility & contrast

On white

8.43
#4F5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5015
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5015#FFFFFF#000000##FFFFFF
##4F50151.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0C
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#554B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f5015;
/* rgb */ color: rgb(79, 80, 21);
/* oklch */ color: oklch(41.8% 0.079 110.3);
Tailwind
colors: {
  custom: {
    50: '#828056',
    500: '#4f5015',
    950: '#000000',
  },
}
SCSS
$custom: #4f5015;
$custom-light: #828056;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5015",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 61.017,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.07892,
    "h": 110.3
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#4F5015
secondary
#3A3988
accent
#46E249
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5015

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

Preview Lab → · Contrast checker → · Palette generator →

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