#4F4012#4F4012

#4F4012 is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.8% C 0.066 H 90.5°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#4F4012
RGBrgb(79, 64, 18)
HSLhsl(45, 63%, 19%)
HSVhsv(45, 77%, 31%)
CMYKcmyk(0%, 19%, 77.2%, 69%)
CIE-LABlab(27.77, 0.74, 29.33)
CIE-LCHlch(27.77, 29.34, 88.55°)
OKLaboklab(37.77% -0.0006 0.0656)
OKLCHoklch(37.77% 0.066 90.5)
XYZxyz(5.1673, 5.3730, 1.3371)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4012 #12214F
analogous
#4F2212 #4F4012 #404F12
triadic
#4F4012 #124F40 #40124F
tetradic
#4F4012 #124F22 #12214F #4F1240
square
#4F4012 #124F22 #12214F #4F1240
split-complementary
#4F4012 #12404F #22124F
monochromatic
#191406 #1D1807 #4F4012 #81681D #B39129

Accessibility & contrast

On white

10.12
#4F4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4012
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4012#FFFFFF#000000##FFFFFF
##4F40121.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0C
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#563A37
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f4012;
/* rgb */ color: rgb(79, 64, 18);
/* oklch */ color: oklch(37.8% 0.066 90.5);
Tailwind
colors: {
  custom: {
    50: '#837453',
    500: '#4f4012',
    950: '#000000',
  },
}
SCSS
$custom: #4f4012;
$custom-light: #837453;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4012",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 45.246,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37766,
    "c": 0.06558,
    "h": 90.5
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#4F4012
secondary
#354988
accent
#6AE642
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4F4012

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

Preview Lab → · Contrast checker → · Palette generator →

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