#4F450C#4F450C

#4F450C is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.9% C 0.074 H 98.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4F450C
RGBrgb(79, 69, 12)
HSLhsl(51, 74%, 18%)
HSVhsv(51, 85%, 31%)
CMYKcmyk(0%, 12.7%, 84.8%, 69%)
CIE-LABlab(29.27, -2.70, 33.43)
CIE-LCHlch(29.27, 33.54, 94.62°)
OKLaboklab(38.94% -0.0112 0.0729)
OKLCHoklch(38.94% 0.074 98.7)
XYZxyz(5.4192, 5.9453, 1.2099)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F450C #0C164F
analogous
#4F240C #4F450C #374F0C
triadic
#4F450C #0C4F45 #450C4F
tetradic
#4F450C #0C4F24 #0C164F #4F0C37
square
#4F450C #0C4F24 #0C164F #4F0C37
split-complementary
#4F450C #0C374F #240C4F
monochromatic
#1B1704 #1B1704 #4F450C #847314 #B9A21C

Accessibility & contrast

On white

9.59
#4F450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F450C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F450C#FFFFFF#000000##FFFFFF
##4F450C1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4302
Deuteranopia (green-blind)
#4F4610
Tritanopia (blue-blind)
#563F3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f450c;
/* rgb */ color: rgb(79, 69, 12);
/* oklch */ color: oklch(38.9% 0.074 98.7);
Tailwind
colors: {
  custom: {
    50: '#837850',
    500: '#4f450c',
    950: '#000000',
  },
}
SCSS
$custom: #4f450c;
$custom-light: #837850;
$custom-dark: #000000;
JSON
{
  "hex": "#4f450c",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 51.045,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38939,
    "c": 0.07378,
    "h": 98.7
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

primary
#4F450C
secondary
#2C3A8B
accent
#53F038
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4F450C

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

Preview Lab → · Contrast checker → · Palette generator →

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