#F7DF87#F7DF87

#F7DF87 is a very light, moderate yellow. Relative luminance 0.743; OKLCH L 90.5% C 0.111 H 94.6°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F7DF87
RGBrgb(247, 223, 135)
HSLhsl(47, 88%, 75%)
HSVhsv(47, 45%, 97%)
CMYKcmyk(0%, 9.7%, 45.3%, 3.1%)
CIE-LABlab(89.06, -3.23, 45.97)
CIE-LCHlch(89.06, 46.08, 94.02°)
OKLaboklab(90.47% -0.0089 0.111)
OKLCHoklch(90.47% 0.111 94.6)
XYZxyz(69.1206, 74.3014, 33.6176)
Luminance0.7430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF87 #879FF7
analogous
#F7A787 #F7DF87 #D7F787
triadic
#F7DF87 #87F7DF #DF87F7
tetradic
#F7DF87 #87F7A7 #879FF7 #F787D7
square
#F7DF87 #87F7A7 #879FF7 #F787D7
split-complementary
#F7DF87 #87D7F7 #A787F7
monochromatic
#EFC014 #F3D04E #F7DF87 #FBEEC0 #FDF7E2

Accessibility & contrast

On white

1.32
#F7DF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#F7DF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF87
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF87#FFFFFF#000000##000000
##F7DF871.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB80
Deuteranopia (green-blind)
#F6E38A
Tritanopia (blue-blind)
#FFD3CA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7df87;
/* rgb */ color: rgb(247, 223, 135);
/* oklch */ color: oklch(90.5% 0.111 94.6);
Tailwind
colors: {
  custom: {
    50: '#fce8ab',
    500: '#f7df87',
    950: '#000000',
  },
}
SCSS
$custom: #f7df87;
$custom-light: #fce8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df87",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 135
  },
  "hsl": {
    "h": 47.143,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.90466,
    "c": 0.11136,
    "h": 94.6
  },
  "luminance": 0.74299
}

Semantic roles & 50–950 ramp

primary
#F7DF87
secondary
#4E6BD4
accent
#32E401
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7DF87

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

Preview Lab → · Contrast checker → · Palette generator →

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