#F7DB78#F7DB78

#F7DB78 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.5% C 0.123 H 94.0°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#F7DB78
RGBrgb(247, 219, 120)
HSLhsl(47, 89%, 72%)
HSVhsv(47, 51%, 97%)
CMYKcmyk(0%, 11.3%, 51.4%, 3.1%)
CIE-LABlab(87.87, -2.55, 51.77)
CIE-LCHlch(87.87, 51.83, 92.82°)
OKLaboklab(89.46% -0.0085 0.1228)
OKLCHoklch(89.46% 0.123 94)
XYZxyz(67.0818, 71.7962, 28.0902)
Luminance0.7179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DB78 #7894F7
analogous
#F79C78 #F7DB78 #D3F778
triadic
#F7DB78 #78F7DB #DB78F7
tetradic
#F7DB78 #78F79C #7894F7 #F778D3
square
#F7DB78 #78F79C #7894F7 #F778D3
split-complementary
#F7DB78 #78D3F7 #9C78F7
monochromatic
#E7B70E #F4CC3E #F7DB78 #FAEAB2 #FDF7E2

Accessibility & contrast

On white

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

On black

15.36
#F7DB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DB78
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DB78#FFFFFF#000000##000000
##F7DB781.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.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: #f7db78;
/* rgb */ color: rgb(247, 219, 120);
/* oklch */ color: oklch(89.5% 0.123 94.0);
Tailwind
colors: {
  custom: {
    50: '#fce5a1',
    500: '#f7db78',
    950: '#000000',
  },
}
SCSS
$custom: #f7db78;
$custom-light: #fce5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7db78",
  "rgb": {
    "r": 247,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 46.772,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.89462,
    "c": 0.12306,
    "h": 94
  },
  "luminance": 0.71793
}

Semantic roles & 50–950 ramp

primary
#F7DB78
secondary
#4161D3
accent
#33E500
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F7DB78

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

Preview Lab → · Contrast checker → · Palette generator →

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