#F6D772#F6D772

#F6D772 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.5% C 0.126 H 92.6°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#F6D772
RGBrgb(246, 215, 114)
HSLhsl(46, 88%, 71%)
HSVhsv(46, 54%, 96%)
CMYKcmyk(0%, 12.6%, 53.7%, 3.5%)
CIE-LABlab(86.71, -1.41, 53.21)
CIE-LCHlch(86.71, 53.22, 91.52°)
OKLaboklab(88.5% -0.0058 0.1254)
OKLCHoklch(88.5% 0.126 92.6)
XYZxyz(65.3463, 69.4117, 25.8721)
Luminance0.6941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6D772 #7291F6
analogous
#F69572 #F6D772 #D3F672
triadic
#F6D772 #72F6D7 #D772F6
tetradic
#F6D772 #72F695 #7291F6 #F672D3
square
#F6D772 #72F695 #7291F6 #F672D3
split-complementary
#F6D772 #72D3F6 #9572F6
monochromatic
#DFAE0E #F2C738 #F6D772 #FAE7AC #FDF7E2

Accessibility & contrast

On white

1.41
#F6D772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#F6D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6D772
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6D772#FFFFFF#000000##000000
##F6D7721.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD469
Deuteranopia (green-blind)
#F2DD76
Tritanopia (blue-blind)
#FFC9C0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f6d772;
/* rgb */ color: rgb(246, 215, 114);
/* oklch */ color: oklch(88.5% 0.126 92.6);
Tailwind
colors: {
  custom: {
    50: '#fce39d',
    500: '#f6d772',
    950: '#000000',
  },
}
SCSS
$custom: #f6d772;
$custom-light: #fce39d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6d772",
  "rgb": {
    "r": 246,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 45.909,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.885,
    "c": 0.12553,
    "h": 92.6
  },
  "luminance": 0.69409
}

Semantic roles & 50–950 ramp

primary
#F6D772
secondary
#3C5FD1
accent
#36E501
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F6D772

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

Preview Lab → · Contrast checker → · Palette generator →

#F6D772 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva