#4F4A12#4F4A12

#4F4A12 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.074 H 104.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4F4A12
RGBrgb(79, 74, 18)
HSLhsl(55, 63%, 19%)
HSVhsv(55, 77%, 31%)
CMYKcmyk(0%, 6.3%, 77.2%, 69%)
CIE-LABlab(30.89, -5.45, 32.45)
CIE-LCHlch(30.89, 32.90, 99.53°)
OKLaboklab(40.23% -0.0182 0.0722)
OKLCHoklch(40.23% 0.074 104.2)
XYZxyz(5.7826, 6.6037, 1.5422)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4A12 #12174F
analogous
#4F2C12 #4F4A12 #364F12
triadic
#4F4A12 #124F4A #4A124F
tetradic
#4F4A12 #124F2C #12174F #4F1236
square
#4F4A12 #124F2C #12174F #4F1236
split-complementary
#4F4A12 #12364F #2C124F
monochromatic
#191706 #1D1B07 #4F4A12 #81791D #B3A729

Accessibility & contrast

On white

9.05
#4F4A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4F4A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4A12
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4A12#FFFFFF#000000##FFFFFF
##4F4A121.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#55443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f4a12;
/* rgb */ color: rgb(79, 74, 18);
/* oklch */ color: oklch(40.2% 0.074 104.2);
Tailwind
colors: {
  custom: {
    50: '#837c54',
    500: '#4f4a12',
    950: '#000000',
  },
}
SCSS
$custom: #4f4a12;
$custom-light: #837c54;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4a12",
  "rgb": {
    "r": 79,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 55.082,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.07444,
    "h": 104.2
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#4F4A12
secondary
#353C88
accent
#4FE642
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4A12

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

Preview Lab → · Contrast checker → · Palette generator →

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