#4F4A0F#4F4A0F

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

Color values

HEX#4F4A0F
RGBrgb(79, 74, 15)
HSLhsl(55, 68%, 18%)
HSVhsv(55, 81%, 31%)
CMYKcmyk(0%, 6.3%, 81%, 69%)
CIE-LABlab(30.87, -5.61, 33.71)
CIE-LCHlch(30.87, 34.18, 99.45°)
OKLaboklab(40.21% -0.019 0.0742)
OKLCHoklch(40.21% 0.077 104.4)
XYZxyz(5.7597, 6.5945, 1.4213)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4A0F #0F144F
analogous
#4F2A0F #4F4A0F #344F0F
triadic
#4F4A0F #0F4F4A #4A0F4F
tetradic
#4F4A0F #0F4F2A #0F144F #4F0F34
square
#4F4A0F #0F4F2A #0F144F #4F0F34
split-complementary
#4F4A0F #0F344F #2A0F4F
monochromatic
#1A1805 #1C1A05 #4F4A0F #827A19 #B6AA23

Accessibility & contrast

On white

9.06
#4F4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F4A0F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4A0F#FFFFFF#000000##FFFFFF
##4F4A0F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514705
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#56443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f4a0f;
/* rgb */ color: rgb(79, 74, 15);
/* oklch */ color: oklch(40.2% 0.077 104.4);
Tailwind
colors: {
  custom: {
    50: '#837c52',
    500: '#4f4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4f4a0f;
$custom-light: #837c52;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4a0f",
  "rgb": {
    "r": 79,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 55.313,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40209,
    "c": 0.07661,
    "h": 104.4
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#4F4A0F
secondary
#313889
accent
#4AEB3D
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4F4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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