#F6DB78#F6DB78

#F6DB78 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.4% C 0.123 H 94.5°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#F6DB78
RGBrgb(246, 219, 120)
HSLhsl(47, 88%, 72%)
HSVhsv(47, 51%, 96%)
CMYKcmyk(0%, 11%, 51.2%, 3.5%)
CIE-LABlab(87.78, -2.95, 51.64)
CIE-LCHlch(87.78, 51.73, 93.27°)
OKLaboklab(89.37% -0.0096 0.1225)
OKLCHoklch(89.37% 0.123 94.5)
XYZxyz(66.7300, 71.6148, 28.0737)
Luminance0.7161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6DB78 #7893F6
analogous
#F69C78 #F6DB78 #D2F678
triadic
#F6DB78 #78F6DB #DB78F6
tetradic
#F6DB78 #78F69C #7893F6 #F678D2
square
#F6DB78 #78F69C #7893F6 #F678D2
split-complementary
#F6DB78 #78D2F6 #9C78F6
monochromatic
#E4B70F #F2CC3F #F6DB78 #FAEAB1 #FDF7E2

Accessibility & contrast

On white

1.37
#F6DB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#F6DB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6DB78
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6DB78#FFFFFF#000000##000000
##F6DB781.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76F
Deuteranopia (green-blind)
#F4E07C
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f6db78;
/* rgb */ color: rgb(246, 219, 120);
/* oklch */ color: oklch(89.4% 0.123 94.5);
Tailwind
colors: {
  custom: {
    50: '#fbe5a1',
    500: '#f6db78',
    950: '#000000',
  },
}
SCSS
$custom: #f6db78;
$custom-light: #fbe5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f6db78",
  "rgb": {
    "r": 246,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 47.143,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89372,
    "c": 0.12288,
    "h": 94.5
  },
  "luminance": 0.71612
}

Semantic roles & 50–950 ramp

primary
#F6DB78
secondary
#4160D1
accent
#32E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F6DB78

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

Preview Lab → · Contrast checker → · Palette generator →

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