#4F4F18#4F4F18

#4F4F18 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.6% C 0.075 H 109.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4F4F18
RGBrgb(79, 79, 24)
HSLhsl(60, 53%, 20%)
HSVhsv(60, 70%, 31%)
CMYKcmyk(0%, 0%, 69.6%, 69%)
CIE-LABlab(32.53, -8.04, 31.33)
CIE-LCHlch(32.53, 32.34, 104.40°)
OKLaboklab(41.56% -0.0248 0.071)
OKLCHoklch(41.56% 0.075 109.3)
XYZxyz(6.1855, 7.3204, 1.9511)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4F18 #18184F
analogous
#4F3318 #4F4F18 #334F18
triadic
#4F4F18 #184F4F #4F184F
tetradic
#4F4F18 #184F33 #18184F #4F1833
square
#4F4F18 #184F33 #18184F #4F1833
split-complementary
#4F4F18 #18334F #33184F
monochromatic
#171707 #20200A #4F4F18 #7E7E26 #ADAD35

Accessibility & contrast

On white

8.52
#4F4F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F4F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4F18
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4F18#FFFFFF#000000##FFFFFF
##4F4F181.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C11
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#554A44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f4f18;
/* rgb */ color: rgb(79, 79, 24);
/* oklch */ color: oklch(41.6% 0.075 109.3);
Tailwind
colors: {
  custom: {
    50: '#828058',
    500: '#4f4f18',
    950: '#000000',
  },
}
SCSS
$custom: #4f4f18;
$custom-light: #828058;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4f18",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.07517,
    "h": 109.3
  },
  "luminance": 0.0732
}

Semantic roles & 50–950 ramp

primary
#4F4F18
secondary
#3D3D86
accent
#4BDD4B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F4F18

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

Preview Lab → · Contrast checker → · Palette generator →

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