#4F5313#4F5313

#4F5313 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.5% C 0.084 H 113.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4F5313
RGBrgb(79, 83, 19)
HSLhsl(64, 63%, 20%)
HSVhsv(64, 77%, 33%)
CMYKcmyk(4.8%, 0%, 77.1%, 67.5%)
CIE-LABlab(33.77, -10.72, 34.84)
CIE-LCHlch(33.77, 36.45, 107.09°)
OKLaboklab(42.53% -0.0329 0.0774)
OKLCHoklch(42.53% 0.084 113)
XYZxyz(6.4354, 7.8959, 1.8010)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5313 #171353
analogous
#533713 #4F5313 #2F5313
triadic
#4F5313 #134F53 #53134F
tetradic
#4F5313 #135337 #171353 #53132F
square
#4F5313 #135337 #171353 #53132F
split-complementary
#4F5313 #132F53 #371353
monochromatic
#181906 #202108 #4F5313 #7E851E #AEB72A

Accessibility & contrast

On white

8.14
#4F5313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F5313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5313
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5313#FFFFFF#000000##FFFFFF
##4F53131.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F08
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#554E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5313;
/* rgb */ color: rgb(79, 83, 19);
/* oklch */ color: oklch(42.5% 0.084 113.0);
Tailwind
colors: {
  custom: {
    50: '#838356',
    500: '#4f5313',
    950: '#000000',
  },
}
SCSS
$custom: #4f5313;
$custom-light: #838356;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5313",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 63.75,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.42533,
    "c": 0.08412,
    "h": 113
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#4F5313
secondary
#3C368B
accent
#42E64C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5313

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

Preview Lab → · Contrast checker → · Palette generator →

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