#F7DF80#F7DF80

#F7DF80 is a very light, moderate yellow. Relative luminance 0.741; OKLCH L 90.4% C 0.118 H 95.6°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#F7DF80
RGBrgb(247, 223, 128)
HSLhsl(48, 88%, 74%)
HSVhsv(48, 48%, 97%)
CMYKcmyk(0%, 9.7%, 48.2%, 3.1%)
CIE-LABlab(88.97, -3.88, 49.27)
CIE-LCHlch(88.97, 49.42, 94.50°)
OKLaboklab(90.37% -0.0115 0.1179)
OKLCHoklch(90.37% 0.118 95.6)
XYZxyz(68.6439, 74.1107, 31.1069)
Luminance0.7411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF80 #8098F7
analogous
#F7A380 #F7DF80 #D3F780
triadic
#F7DF80 #80F7DF #DF80F7
tetradic
#F7DF80 #80F7A3 #8098F7 #F780D3
square
#F7DF80 #80F7A3 #8098F7 #F780D3
split-complementary
#F7DF80 #80D3F7 #A380F7
monochromatic
#EEC10F #F3D046 #F7DF80 #FBEEBA #FDF8E2

Accessibility & contrast

On white

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

On black

15.82
#F7DF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF80
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF80#FFFFFF#000000##000000
##F7DF801.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB78
Deuteranopia (green-blind)
#F7E384
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df80;
/* rgb */ color: rgb(247, 223, 128);
/* oklch */ color: oklch(90.4% 0.118 95.6);
Tailwind
colors: {
  custom: {
    50: '#fce8a6',
    500: '#f7df80',
    950: '#000000',
  },
}
SCSS
$custom: #f7df80;
$custom-light: #fce8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df80",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 128
  },
  "hsl": {
    "h": 47.899,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.90366,
    "c": 0.11845,
    "h": 95.6
  },
  "luminance": 0.74108
}

Semantic roles & 50–950 ramp

primary
#F7DF80
secondary
#4864D4
accent
#2FE501
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7DF80

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

Preview Lab → · Contrast checker → · Palette generator →

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