#4F4D18#4F4D18

#4F4D18 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.0% C 0.073 H 107.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4F4D18
RGBrgb(79, 77, 24)
HSLhsl(58, 53%, 20%)
HSVhsv(58, 70%, 31%)
CMYKcmyk(0%, 2.5%, 69.6%, 69%)
CIE-LABlab(31.89, -6.85, 30.66)
CIE-LCHlch(31.89, 31.42, 102.60°)
OKLaboklab(41.05% -0.0214 0.0696)
OKLCHoklch(41.05% 0.073 107.1)
XYZxyz(6.0434, 7.0362, 1.9037)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4D18 #181A4F
analogous
#4F3118 #4F4D18 #354F18
triadic
#4F4D18 #184F4D #4D184F
tetradic
#4F4D18 #184F31 #181A4F #4F1835
square
#4F4D18 #184F31 #181A4F #4F1835
split-complementary
#4F4D18 #18354F #31184F
monochromatic
#171707 #201F0A #4F4D18 #7E7B26 #ADA935

Accessibility & contrast

On white

8.72
#4F4D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4F4D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4D18
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4D18#FFFFFF#000000##FFFFFF
##4F4D181.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#554842
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f4d18;
/* rgb */ color: rgb(79, 77, 24);
/* oklch */ color: oklch(41.0% 0.073 107.1);
Tailwind
colors: {
  custom: {
    50: '#827e58',
    500: '#4f4d18',
    950: '#000000',
  },
}
SCSS
$custom: #4f4d18;
$custom-light: #827e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4d18",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 57.818,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41048,
    "c": 0.07278,
    "h": 107.1
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#4F4D18
secondary
#3D4086
accent
#50DD4B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4D18

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

Preview Lab → · Contrast checker → · Palette generator →

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