#4F4515#4F4515

#4F4515 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.0% C 0.067 H 97.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4F4515
RGBrgb(79, 69, 21)
HSLhsl(50, 58%, 20%)
HSVhsv(50, 73%, 31%)
CMYKcmyk(0%, 12.7%, 73.4%, 69%)
CIE-LABlab(29.34, -2.19, 29.47)
CIE-LCHlch(29.34, 29.55, 94.25°)
OKLaboklab(39.02% -0.0086 0.0665)
OKLCHoklch(39.02% 0.067 97.4)
XYZxyz(5.4882, 5.9729, 1.5731)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4515 #151F4F
analogous
#4F2815 #4F4515 #3C4F15
triadic
#4F4515 #154F45 #45154F
tetradic
#4F4515 #154F28 #151F4F #4F153C
square
#4F4515 #154F28 #151F4F #4F153C
split-complementary
#4F4515 #153C4F #28154F
monochromatic
#181506 #1F1B08 #4F4515 #7F6F22 #B0992F

Accessibility & contrast

On white

9.57
#4F4515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4F4515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4515
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4515#FFFFFF#000000##FFFFFF
##4F45151.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430F
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#563F3B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f4515;
/* rgb */ color: rgb(79, 69, 21);
/* oklch */ color: oklch(39.0% 0.067 97.4);
Tailwind
colors: {
  custom: {
    50: '#837855',
    500: '#4f4515',
    950: '#000000',
  },
}
SCSS
$custom: #4f4515;
$custom-light: #837855;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4515",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 21
  },
  "hsl": {
    "h": 49.655,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39017,
    "c": 0.06703,
    "h": 97.4
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#4F4515
secondary
#394687
accent
#61E147
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0803
muted
#7C7B78

Preview Lab

Preview with #4F4515

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

Preview Lab → · Contrast checker → · Palette generator →

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