#4F5311#4F5311

#4F5311 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#4F5311
RGBrgb(79, 83, 17)
HSLhsl(64, 66%, 20%)
HSVhsv(64, 80%, 33%)
CMYKcmyk(4.8%, 0%, 79.5%, 67.5%)
CIE-LABlab(33.75, -10.83, 35.65)
CIE-LCHlch(33.75, 37.25, 106.90°)
OKLaboklab(42.52% -0.0334 0.0787)
OKLCHoklch(42.52% 0.086 113)
XYZxyz(6.4191, 7.8894, 1.7149)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5311 #151153
analogous
#533611 #4F5311 #2E5311
triadic
#4F5311 #114F53 #53114F
tetradic
#4F5311 #115336 #151153 #53112E
square
#4F5311 #115336 #151153 #53112E
split-complementary
#4F5311 #112E53 #361153
monochromatic
#181905 #1F2007 #4F5311 #7F861B #B0B926

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5311#FFFFFF#000000##FFFFFF
##4F53111.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)
#5A4F05
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#554E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5311;
/* rgb */ color: rgb(79, 83, 17);
/* oklch */ color: oklch(42.5% 0.086 113.0);
Tailwind
colors: {
  custom: {
    50: '#838355',
    500: '#4f5311',
    950: '#000000',
  },
}
SCSS
$custom: #4f5311;
$custom-light: #838355;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5311",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 63.636,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42518,
    "c": 0.08552,
    "h": 113
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#4F5311
secondary
#39348C
accent
#3FE949
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5311

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

Preview Lab → · Contrast checker → · Palette generator →

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