#4F450F#4F450F

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

Color values

HEX#4F450F
RGBrgb(79, 69, 15)
HSLhsl(51, 68%, 18%)
HSVhsv(51, 81%, 31%)
CMYKcmyk(0%, 12.7%, 81%, 69%)
CIE-LABlab(29.29, -2.56, 32.21)
CIE-LCHlch(29.29, 32.32, 94.54°)
OKLaboklab(38.96% -0.0104 0.071)
OKLCHoklch(38.96% 0.072 98.3)
XYZxyz(5.4391, 5.9533, 1.3144)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F450F #0F194F
analogous
#4F250F #4F450F #394F0F
triadic
#4F450F #0F4F45 #450F4F
tetradic
#4F450F #0F4F25 #0F194F #4F0F39
square
#4F450F #0F4F25 #0F194F #4F0F39
split-complementary
#4F450F #0F394F #250F4F
monochromatic
#1A1605 #1C1805 #4F450F #827219 #B69F23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F450F#FFFFFF#000000##FFFFFF
##4F450F1.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)
#4D4306
Deuteranopia (green-blind)
#4F4712
Tritanopia (blue-blind)
#563F3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f450f;
/* rgb */ color: rgb(79, 69, 15);
/* oklch */ color: oklch(39.0% 0.072 98.3);
Tailwind
colors: {
  custom: {
    50: '#837852',
    500: '#4f450f',
    950: '#000000',
  },
}
SCSS
$custom: #4f450f;
$custom-light: #837852;
$custom-dark: #000000;
JSON
{
  "hex": "#4f450f",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 50.625,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38961,
    "c": 0.07179,
    "h": 98.3
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#4F450F
secondary
#313E89
accent
#58EB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4F450F

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

Preview Lab → · Contrast checker → · Palette generator →

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