#4F5315#4F5315

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

Color values

HEX#4F5315
RGBrgb(79, 83, 21)
HSLhsl(64, 60%, 20%)
HSVhsv(64, 75%, 33%)
CMYKcmyk(4.8%, 0%, 74.7%, 67.5%)
CIE-LABlab(33.78, -10.59, 34.00)
CIE-LCHlch(33.78, 35.61, 107.30°)
OKLaboklab(42.55% -0.0323 0.076)
OKLCHoklch(42.55% 0.083 113)
XYZxyz(6.4533, 7.9031, 1.8948)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5315 #191553
analogous
#533815 #4F5315 #305315
triadic
#4F5315 #154F53 #53154F
tetradic
#4F5315 #155338 #191553 #531530
square
#4F5315 #155338 #191553 #531530
split-complementary
#4F5315 #153053 #381553
monochromatic
#171806 #212209 #4F5315 #7D8421 #ACB52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5315#FFFFFF#000000##FFFFFF
##4F53151.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)
#5A4F0B
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#554E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5315;
/* rgb */ color: rgb(79, 83, 21);
/* oklch */ color: oklch(42.5% 0.083 113.0);
Tailwind
colors: {
  custom: {
    50: '#838357',
    500: '#4f5315',
    950: '#000000',
  },
}
SCSS
$custom: #4f5315;
$custom-light: #838357;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5315",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 63.871,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4255,
    "c": 0.08262,
    "h": 113
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#4F5315
secondary
#3E398B
accent
#45E34F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5315

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

Preview Lab → · Contrast checker → · Palette generator →

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