#4F490F#4F490F

#4F490F is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.0% C 0.076 H 103.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4F490F
RGBrgb(79, 73, 15)
HSLhsl(54, 68%, 18%)
HSVhsv(54, 81%, 31%)
CMYKcmyk(0%, 7.6%, 81%, 69%)
CIE-LABlab(30.55, -5.01, 33.41)
CIE-LCHlch(30.55, 33.78, 98.52°)
OKLaboklab(39.96% -0.0173 0.0736)
OKLCHoklch(39.96% 0.076 103.3)
XYZxyz(5.6935, 6.4621, 1.3993)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F490F #0F154F
analogous
#4F290F #4F490F #354F0F
triadic
#4F490F #0F4F49 #490F4F
tetradic
#4F490F #0F4F29 #0F154F #4F0F35
square
#4F490F #0F4F29 #0F154F #4F0F35
split-complementary
#4F490F #0F354F #290F4F
monochromatic
#1A1805 #1C1905 #4F490F #827919 #B6A823

Accessibility & contrast

On white

9.16
#4F490F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4F490F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F490F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F490F#FFFFFF#000000##FFFFFF
##4F490F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#56433E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f490f;
/* rgb */ color: rgb(79, 73, 15);
/* oklch */ color: oklch(40.0% 0.076 103.3);
Tailwind
colors: {
  custom: {
    50: '#837b52',
    500: '#4f490f',
    950: '#000000',
  },
}
SCSS
$custom: #4f490f;
$custom-light: #837b52;
$custom-dark: #000000;
JSON
{
  "hex": "#4f490f",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 15
  },
  "hsl": {
    "h": 54.375,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39958,
    "c": 0.07558,
    "h": 103.3
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#4F490F
secondary
#313989
accent
#4DEB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F490F

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

Preview Lab → · Contrast checker → · Palette generator →

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