#4F5611#4F5611

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

Color values

HEX#4F5611
RGBrgb(79, 86, 17)
HSLhsl(66, 67%, 20%)
HSVhsv(66, 80%, 34%)
CMYKcmyk(8.1%, 0%, 80.2%, 66.3%)
CIE-LABlab(34.72, -12.55, 36.56)
CIE-LCHlch(34.72, 38.66, 108.94°)
OKLaboklab(43.29% -0.0382 0.0807)
OKLCHoklch(43.29% 0.089 115.3)
XYZxyz(6.6536, 8.3584, 1.7930)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5611 #181156
analogous
#563A11 #4F5611 #2C5611
triadic
#4F5611 #114F56 #56114F
tetradic
#4F5611 #11563A #181156 #56112C
square
#4F5611 #11563A #181156 #56112C
split-complementary
#4F5611 #112C56 #3A1156
monochromatic
#171A05 #202307 #4F5611 #7E891B #ADBC25

Accessibility & contrast

On white

7.86
#4F5611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5611
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5611#FFFFFF#000000##FFFFFF
##4F56111.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5611;
/* rgb */ color: rgb(79, 86, 17);
/* oklch */ color: oklch(43.3% 0.089 115.3);
Tailwind
colors: {
  custom: {
    50: '#838555',
    500: '#4f5611',
    950: '#000000',
  },
}
SCSS
$custom: #4f5611;
$custom-light: #838555;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5611",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 66.087,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.08924,
    "h": 115.3
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#4F5611
secondary
#3D348F
accent
#3EEA4F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5611

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

Preview Lab → · Contrast checker → · Palette generator →

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