#4F460F#4F460F

#4F460F is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.2% C 0.073 H 99.6°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#4F460F
RGBrgb(79, 70, 15)
HSLhsl(52, 68%, 18%)
HSVhsv(52, 81%, 31%)
CMYKcmyk(0%, 11.4%, 81%, 69%)
CIE-LABlab(29.61, -3.17, 32.51)
CIE-LCHlch(29.61, 32.67, 95.57°)
OKLaboklab(39.21% -0.0121 0.0717)
OKLCHoklch(39.21% 0.073 99.6)
XYZxyz(5.5011, 6.0773, 1.3351)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F460F #0F184F
analogous
#4F260F #4F460F #384F0F
triadic
#4F460F #0F4F46 #460F4F
tetradic
#4F460F #0F4F26 #0F184F #4F0F38
square
#4F460F #0F4F26 #0F184F #4F0F38
split-complementary
#4F460F #0F384F #260F4F
monochromatic
#1A1705 #1C1805 #4F460F #827419 #B6A123

Accessibility & contrast

On white

9.48
#4F460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4F460F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F460F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F460F#FFFFFF#000000##FFFFFF
##4F460F1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4406
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#56403B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f460f;
/* rgb */ color: rgb(79, 70, 15);
/* oklch */ color: oklch(39.2% 0.073 99.6);
Tailwind
colors: {
  custom: {
    50: '#837952',
    500: '#4f460f',
    950: '#000000',
  },
}
SCSS
$custom: #4f460f;
$custom-light: #837952;
$custom-dark: #000000;
JSON
{
  "hex": "#4f460f",
  "rgb": {
    "r": 79,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 51.563,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39209,
    "c": 0.07269,
    "h": 99.6
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#4F460F
secondary
#313D89
accent
#55EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F460F

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

Preview Lab → · Contrast checker → · Palette generator →

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