Buff (#F0DC82)
The hex code for Buff is #F0DC82. It is rgb(240, 220, 130) in RGB, hsl(49, 79%, 73%) in HSL, and about cmyk(0%, 8%, 46%, 6%) in CMYK — a light yellow. Black text is the more readable choice on this background.
#F0DC82rgb(240, 220, 130)hsl(49, 79%, 73%)hsv(49, 46%, 94%)cmyk(0%, 8%, 46%, 6%)oklch(89.2% 0.113 97.2)lab(87.99% -1.55 46.59)lch(87.99% 46.62 91.91)Colors Closest to Buff
Buff is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.
Browse the full index of named colors A-Z or every yellow in the library.
#F0DC82 Channel Values
How Buff breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 240 · G 220 · B 130 | 8-bit channels as sent to the display |
| HSL | H 49° · S 79% · L 73% | Easiest model for building lighter and darker variants |
| HSV | H 49° · S 46% · V 94% | Matches the picker in most design tools |
| CMYK | C 0% · M 8% · Y 46% · K 6% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 1.38:1 vs white · 15.26:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a Buff background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #F0DC82 in the contrast checker.
Colors That Go With Buff
Pairings derived from color-wheel relationships. The complementary color sits opposite Buff; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of Buff
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #F0DC82.
How Buff Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#F0DC82#E0E082#E6DE82#E3E381#E8E081#F7D3D3#F5D7B8#DCDCDCUsing #F0DC82 in Code
Copy-ready declarations for the places this color usually ends up.
--buff: #F0DC82;background-color: #F0DC82;colors: { 'buff': '#F0DC82' }Color(red: 0.941, green: 0.863, blue: 0.510)<color name="buff">#F0DC82</color>fill="#F0DC82"More Yellow Colors
Buff sits in the yellowfamily. These are its neighbours across that family's full range, each with its own breakdown.
#F0DC82 Frequently Asked Questions
What is the hex code for Buff?
The hex code for Buff is #F0DC82. That is rgb(240, 220, 130) in RGB, hsl(49, 79%, 73%) in HSL, and approximately cmyk(0%, 8%, 46%, 6%) in CMYK.
What is the RGB value of #F0DC82?
#F0DC82 is rgb(240, 220, 130) — red 240, green 220, and blue 130 on the 0-255 scale.
What is the CMYK value of #F0DC82?
#F0DC82 converts to approximately cmyk(0%, 8%, 46%, 6%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #F0DC82 be black or white?
Black text is the more readable choice. #F0DC82 scores 1.38:1 against white and 15.26:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Can I write #F0DC82 as a CSS color keyword?
No. #F0DC82 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is khaki (#F0E68C) at a CIE76 distance of 5.09, which is clearly related but distinguishable side by side.
Open Buff in a Tool
Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.