#F6DF78#F6DF78

#F6DF78 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.2% C 0.126 H 97.0°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#F6DF78
RGBrgb(246, 223, 120)
HSLhsl(49, 88%, 72%)
HSVhsv(49, 51%, 96%)
CMYKcmyk(0%, 9.3%, 51.2%, 3.5%)
CIE-LABlab(88.79, -4.97, 52.85)
CIE-LCHlch(88.79, 53.09, 95.38°)
OKLaboklab(90.17% -0.0154 0.1252)
OKLCHoklch(90.17% 0.126 97)
XYZxyz(67.7861, 73.7270, 28.4258)
Luminance0.7372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DF78 #788FF6
analogous
#F6A078 #F6DF78 #CEF678
triadic
#F6DF78 #78F6DF #DF78F6
tetradic
#F6DF78 #78F6A0 #788FF6 #F678CE
square
#F6DF78 #78F6A0 #788FF6 #F678CE
split-complementary
#F6DF78 #78CEF6 #A078F6
monochromatic
#E4BD0F #F2D13F #F6DF78 #FAEDB1 #FDF8E2

Accessibility & contrast

On white

1.33
#F6DF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#F6DF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DF78
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DF78#FFFFFF#000000##000000
##F6DF781.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA6F
Deuteranopia (green-blind)
#F7E27C
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f6df78;
/* rgb */ color: rgb(246, 223, 120);
/* oklch */ color: oklch(90.2% 0.126 97.0);
Tailwind
colors: {
  custom: {
    50: '#fbe8a1',
    500: '#f6df78',
    950: '#000000',
  },
}
SCSS
$custom: #f6df78;
$custom-light: #fbe8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f6df78",
  "rgb": {
    "r": 246,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 49.048,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.90171,
    "c": 0.12612,
    "h": 97
  },
  "luminance": 0.73724
}

Semantic roles & 50–950 ramp

primary
#F6DF78
secondary
#415BD1
accent
#2BE401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F6DF78

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

Preview Lab → · Contrast checker → · Palette generator →

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