#4F5614#4F5614

#4F5614 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.3% C 0.087 H 115.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4F5614
RGBrgb(79, 86, 20)
HSLhsl(66, 62%, 21%)
HSVhsv(66, 77%, 34%)
CMYKcmyk(8.1%, 0%, 76.7%, 66.3%)
CIE-LABlab(34.74, -12.38, 35.38)
CIE-LCHlch(34.74, 37.48, 109.28°)
OKLaboklab(43.32% -0.0374 0.0788)
OKLCHoklch(43.32% 0.087 115.4)
XYZxyz(6.6787, 8.3685, 1.9251)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5614 #1B1456
analogous
#563C14 #4F5614 #2E5614
triadic
#4F5614 #144F56 #56144F
tetradic
#4F5614 #14563C #1B1456 #56142E
square
#4F5614 #14563C #1B1456 #56142E
split-complementary
#4F5614 #142E56 #3C1456
monochromatic
#171906 #212408 #4F5614 #7D8820 #AAB92B

Accessibility & contrast

On white

7.85
#4F5614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4F5614 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5614
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5614#FFFFFF#000000##FFFFFF
##4F56141.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5108
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#555149
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f5614;
/* rgb */ color: rgb(79, 86, 20);
/* oklch */ color: oklch(43.3% 0.087 115.4);
Tailwind
colors: {
  custom: {
    50: '#838557',
    500: '#4f5614',
    950: '#000000',
  },
}
SCSS
$custom: #4f5614;
$custom-light: #838557;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5614",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 20
  },
  "hsl": {
    "h": 66.364,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43316,
    "c": 0.08718,
    "h": 115.4
  },
  "luminance": 0.08368
}

Semantic roles & 50–950 ramp

primary
#4F5614
secondary
#41388E
accent
#42E554
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5614

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

Preview Lab → · Contrast checker → · Palette generator →

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