#4F4312#4F4312

#4F4312 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.5% C 0.068 H 95.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4F4312
RGBrgb(79, 67, 18)
HSLhsl(48, 63%, 19%)
HSVhsv(48, 77%, 31%)
CMYKcmyk(0%, 15.2%, 77.2%, 69%)
CIE-LABlab(28.70, -1.14, 30.26)
CIE-LCHlch(28.70, 30.28, 92.16°)
OKLaboklab(38.5% -0.006 0.0676)
OKLCHoklch(38.5% 0.068 95.1)
XYZxyz(5.3411, 5.7205, 1.3950)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4312 #121E4F
analogous
#4F2512 #4F4312 #3D4F12
triadic
#4F4312 #124F43 #43124F
tetradic
#4F4312 #124F25 #121E4F #4F123D
square
#4F4312 #124F25 #121E4F #4F123D
split-complementary
#4F4312 #123D4F #25124F
monochromatic
#191506 #1D1907 #4F4312 #816D1D #B39829

Accessibility & contrast

On white

9.79
#4F4312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4F4312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4312
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4312#FFFFFF#000000##FFFFFF
##4F43121.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420B
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#563D39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f4312;
/* rgb */ color: rgb(79, 67, 18);
/* oklch */ color: oklch(38.5% 0.068 95.1);
Tailwind
colors: {
  custom: {
    50: '#837653',
    500: '#4f4312',
    950: '#000000',
  },
}
SCSS
$custom: #4f4312;
$custom-light: #837653;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4312",
  "rgb": {
    "r": 79,
    "g": 67,
    "b": 18
  },
  "hsl": {
    "h": 48.197,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.06783,
    "h": 95.1
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#4F4312
secondary
#354588
accent
#62E642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4F4312

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

Preview Lab → · Contrast checker → · Palette generator →

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