#F6DE78#F6DE78

#F6DE78 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 90.0% C 0.125 H 96.4°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#F6DE78
RGBrgb(246, 222, 120)
HSLhsl(49, 88%, 72%)
HSVhsv(49, 51%, 96%)
CMYKcmyk(0%, 9.8%, 51.2%, 3.5%)
CIE-LABlab(88.54, -4.47, 52.55)
CIE-LCHlch(88.54, 52.74, 94.86°)
OKLaboklab(89.97% -0.014 0.1245)
OKLCHoklch(89.97% 0.125 96.4)
XYZxyz(67.5198, 73.1942, 28.3370)
Luminance0.7319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DE78 #7890F6
analogous
#F69F78 #F6DE78 #CFF678
triadic
#F6DE78 #78F6DE #DE78F6
tetradic
#F6DE78 #78F69F #7890F6 #F678CF
square
#F6DE78 #78F69F #7890F6 #F678CF
split-complementary
#F6DE78 #78CFF6 #9F78F6
monochromatic
#E4BC0F #F2D03F #F6DE78 #FAECB1 #FDF8E2

Accessibility & contrast

On white

1.34
#F6DE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#F6DE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DE78
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DE78#FFFFFF#000000##000000
##F6DE781.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6F
Deuteranopia (green-blind)
#F6E27C
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f6de78;
/* rgb */ color: rgb(246, 222, 120);
/* oklch */ color: oklch(90.0% 0.125 96.4);
Tailwind
colors: {
  custom: {
    50: '#fbe8a1',
    500: '#f6de78',
    950: '#000000',
  },
}
SCSS
$custom: #f6de78;
$custom-light: #fbe8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f6de78",
  "rgb": {
    "r": 246,
    "g": 222,
    "b": 120
  },
  "hsl": {
    "h": 48.571,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89971,
    "c": 0.12529,
    "h": 96.4
  },
  "luminance": 0.73191
}

Semantic roles & 50–950 ramp

primary
#F6DE78
secondary
#415CD1
accent
#2DE401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6DE78

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

Preview Lab → · Contrast checker → · Palette generator →

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