#4F5310#4F5310

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

Color values

HEX#4F5310
RGBrgb(79, 83, 16)
HSLhsl(64, 68%, 19%)
HSVhsv(64, 81%, 33%)
CMYKcmyk(4.8%, 0%, 80.7%, 67.5%)
CIE-LABlab(33.74, -10.88, 36.03)
CIE-LCHlch(33.74, 37.64, 106.81°)
OKLaboklab(42.51% -0.0337 0.0793)
OKLCHoklch(42.51% 0.086 113)
XYZxyz(6.4114, 7.8863, 1.6746)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5310 #141053
analogous
#533610 #4F5310 #2E5310
triadic
#4F5310 #104F53 #53104F
tetradic
#4F5310 #105336 #141053 #53102E
square
#4F5310 #105336 #141053 #53102E
split-complementary
#4F5310 #102E53 #361053
monochromatic
#181A05 #1E2006 #4F5310 #80861A #B1BA24

Accessibility & contrast

On white

8.15
#4F5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5310
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5310#FFFFFF#000000##FFFFFF
##4F53101.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F03
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#554D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5310;
/* rgb */ color: rgb(79, 83, 16);
/* oklch */ color: oklch(42.5% 0.086 113.0);
Tailwind
colors: {
  custom: {
    50: '#838354',
    500: '#4f5310',
    950: '#000000',
  },
}
SCSS
$custom: #4f5310;
$custom-light: #838354;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5310",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 63.582,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42511,
    "c": 0.08618,
    "h": 113
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

primary
#4F5310
secondary
#38328D
accent
#3DEB48
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5310

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

Preview Lab → · Contrast checker → · Palette generator →

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