#4F480F#4F480F

#4F480F is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.075 H 102.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4F480F
RGBrgb(79, 72, 15)
HSLhsl(53, 68%, 18%)
HSVhsv(53, 81%, 31%)
CMYKcmyk(0%, 8.9%, 81%, 69%)
CIE-LABlab(30.23, -4.40, 33.11)
CIE-LCHlch(30.23, 33.40, 97.57°)
OKLaboklab(39.71% -0.0156 0.0729)
OKLCHoklch(39.71% 0.075 102.1)
XYZxyz(5.6283, 6.3317, 1.3775)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F480F #0F164F
analogous
#4F280F #4F480F #364F0F
triadic
#4F480F #0F4F48 #480F4F
tetradic
#4F480F #0F4F28 #0F164F #4F0F36
square
#4F480F #0F4F28 #0F164F #4F0F36
split-complementary
#4F480F #0F364F #280F4F
monochromatic
#1A1705 #1C1905 #4F480F #827719 #B6A623

Accessibility & contrast

On white

9.27
#4F480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4F480F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F480F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F480F#FFFFFF#000000##FFFFFF
##4F480F1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4605
Deuteranopia (green-blind)
#524813
Tritanopia (blue-blind)
#56423D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f480f;
/* rgb */ color: rgb(79, 72, 15);
/* oklch */ color: oklch(39.7% 0.075 102.1);
Tailwind
colors: {
  custom: {
    50: '#837a52',
    500: '#4f480f',
    950: '#000000',
  },
}
SCSS
$custom: #4f480f;
$custom-light: #837a52;
$custom-dark: #000000;
JSON
{
  "hex": "#4f480f",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 53.438,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.07459,
    "h": 102.1
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#4F480F
secondary
#313A89
accent
#50EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F480F

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

Preview Lab → · Contrast checker → · Palette generator →

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