#F6DC7A#F6DC7A

#F6DC7A is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.6% C 0.122 H 94.9°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#F6DC7A
RGBrgb(246, 220, 122)
HSLhsl(47, 87%, 72%)
HSVhsv(47, 50%, 96%)
CMYKcmyk(0%, 10.6%, 50.4%, 3.5%)
CIE-LABlab(88.06, -3.29, 51.02)
CIE-LCHlch(88.06, 51.12, 93.69°)
OKLaboklab(89.6% -0.0103 0.1213)
OKLCHoklch(89.6% 0.122 94.9)
XYZxyz(67.1144, 72.1872, 28.8069)
Luminance0.7218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DC7A #7A94F6
analogous
#F69E7A #F6DC7A #D2F67A
triadic
#F6DC7A #7AF6DC #DC7AF6
tetradic
#F6DC7A #7AF69E #7A94F6 #F67AD2
square
#F6DC7A #7AF69E #7A94F6 #F67AD2
split-complementary
#F6DC7A #7AD2F6 #9E7AF6
monochromatic
#E6B910 #F2CD41 #F6DC7A #FAEBB3 #FDF7E2

Accessibility & contrast

On white

1.36
#F6DC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.44
#F6DC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DC7A
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DC7A#FFFFFF#000000##000000
##F6DC7A1.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED872
Deuteranopia (green-blind)
#F5E07E
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f6dc7a;
/* rgb */ color: rgb(246, 220, 122);
/* oklch */ color: oklch(89.6% 0.122 94.9);
Tailwind
colors: {
  custom: {
    50: '#fbe6a2',
    500: '#f6dc7a',
    950: '#000000',
  },
}
SCSS
$custom: #f6dc7a;
$custom-light: #fbe6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6dc7a",
  "rgb": {
    "r": 246,
    "g": 220,
    "b": 122
  },
  "hsl": {
    "h": 47.419,
    "s": 87.324,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89598,
    "c": 0.12175,
    "h": 94.9
  },
  "luminance": 0.72184
}

Semantic roles & 50–950 ramp

primary
#F6DC7A
secondary
#4361D2
accent
#31E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F6DC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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