#F7DB84#F7DB84

#F7DB84 is a very light, moderate yellow. Relative luminance 0.721; OKLCH L 89.6% C 0.111 H 92.1°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#F7DB84
RGBrgb(247, 219, 132)
HSLhsl(45, 88%, 74%)
HSVhsv(45, 47%, 97%)
CMYKcmyk(0%, 11.3%, 46.6%, 3.1%)
CIE-LABlab(88.02, -1.48, 46.14)
CIE-LCHlch(88.02, 46.16, 91.84°)
OKLaboklab(89.63% -0.0042 0.1112)
OKLCHoklch(89.63% 0.111 92.1)
XYZxyz(67.8563, 72.1060, 32.1689)
Luminance0.7210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DB84 #84A0F7
analogous
#F7A284 #F7DB84 #DAF784
triadic
#F7DB84 #84F7DB #DB84F7
tetradic
#F7DB84 #84F7A2 #84A0F7 #F784DA
square
#F7DB84 #84F7A2 #84A0F7 #F784DA
split-complementary
#F7DB84 #84DAF7 #A284F7
monochromatic
#F0B911 #F3CA4B #F7DB84 #FBECBD #FDF7E2

Accessibility & contrast

On white

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

On black

15.42
#F7DB84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DB84
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DB84#FFFFFF#000000##000000
##F7DB841.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD87D
Deuteranopia (green-blind)
#F3E087
Tritanopia (blue-blind)
#FFCEC6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7db84;
/* rgb */ color: rgb(247, 219, 132);
/* oklch */ color: oklch(89.6% 0.111 92.1);
Tailwind
colors: {
  custom: {
    50: '#fce6a9',
    500: '#f7db84',
    950: '#000000',
  },
}
SCSS
$custom: #f7db84;
$custom-light: #fce6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f7db84",
  "rgb": {
    "r": 247,
    "g": 219,
    "b": 132
  },
  "hsl": {
    "h": 45.391,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89628,
    "c": 0.11127,
    "h": 92.1
  },
  "luminance": 0.72103
}

Semantic roles & 50–950 ramp

primary
#F7DB84
secondary
#4B6CD4
accent
#38E401
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F7DB84

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

Preview Lab → · Contrast checker → · Palette generator →

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