#F7DF81#F7DF81

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

Color values

HEX#F7DF81
RGBrgb(247, 223, 129)
HSLhsl(48, 88%, 74%)
HSVhsv(48, 48%, 97%)
CMYKcmyk(0%, 9.7%, 47.8%, 3.1%)
CIE-LABlab(88.99, -3.79, 48.80)
CIE-LCHlch(88.99, 48.95, 94.44°)
OKLaboklab(90.38% -0.0111 0.1169)
OKLCHoklch(90.38% 0.117 95.4)
XYZxyz(68.7100, 74.1372, 31.4552)
Luminance0.7413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF81 #8199F7
analogous
#F7A481 #F7DF81 #D4F781
triadic
#F7DF81 #81F7DF #DF81F7
tetradic
#F7DF81 #81F7A4 #8199F7 #F781D4
square
#F7DF81 #81F7A4 #8199F7 #F781D4
split-complementary
#F7DF81 #81D4F7 #A481F7
monochromatic
#EEC10F #F3D047 #F7DF81 #FBEEBB #FDF8E2

Accessibility & contrast

On white

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

On black

15.83
#F7DF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF81
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF81#FFFFFF#000000##000000
##F7DF811.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB79
Deuteranopia (green-blind)
#F7E385
Tritanopia (blue-blind)
#FFD2C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df81;
/* rgb */ color: rgb(247, 223, 129);
/* oklch */ color: oklch(90.4% 0.117 95.4);
Tailwind
colors: {
  custom: {
    50: '#fce8a7',
    500: '#f7df81',
    950: '#000000',
  },
}
SCSS
$custom: #f7df81;
$custom-light: #fce8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df81",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 129
  },
  "hsl": {
    "h": 47.797,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9038,
    "c": 0.11745,
    "h": 95.4
  },
  "luminance": 0.74134
}

Semantic roles & 50–950 ramp

primary
#F7DF81
secondary
#4965D4
accent
#2FE501
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F7DF81

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

Preview Lab → · Contrast checker → · Palette generator →

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