#4F5116#4F5116

#4F5116 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.079 H 111.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4F5116
RGBrgb(79, 81, 22)
HSLhsl(62, 57%, 20%)
HSVhsv(62, 73%, 32%)
CMYKcmyk(2.5%, 0%, 72.8%, 68.2%)
CIE-LABlab(33.15, -9.36, 32.91)
CIE-LCHlch(33.15, 34.22, 105.88°)
OKLaboklab(42.05% -0.0288 0.0739)
OKLCHoklch(42.05% 0.079 111.3)
XYZxyz(6.3119, 7.6052, 1.8944)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5116 #181651
analogous
#513516 #4F5116 #315116
triadic
#4F5116 #164F51 #51164F
tetradic
#4F5116 #165135 #181651 #511631
square
#4F5116 #165135 #181651 #511631
split-complementary
#4F5116 #163151 #351651
monochromatic
#171807 #202109 #4F5116 #7E8123 #ADB130

Accessibility & contrast

On white

8.33
#4F5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5116
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5116#FFFFFF#000000##FFFFFF
##4F51161.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0D
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#554C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f5116;
/* rgb */ color: rgb(79, 81, 22);
/* oklch */ color: oklch(42.0% 0.079 111.3);
Tailwind
colors: {
  custom: {
    50: '#828157',
    500: '#4f5116',
    950: '#000000',
  },
}
SCSS
$custom: #4f5116;
$custom-light: #828157;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5116",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 62.034,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.07934,
    "h": 111.3
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#4F5116
secondary
#3D3A88
accent
#47E14C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5116

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

Preview Lab → · Contrast checker → · Palette generator →

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