#F7DF7D#F7DF7D

#F7DF7D is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.3% C 0.121 H 95.9°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#F7DF7D
RGBrgb(247, 223, 125)
HSLhsl(48, 88%, 73%)
HSVhsv(48, 49%, 97%)
CMYKcmyk(0%, 9.7%, 49.4%, 3.1%)
CIE-LABlab(88.94, -4.14, 50.67)
CIE-LCHlch(88.94, 50.84, 94.68°)
OKLaboklab(90.33% -0.0126 0.1208)
OKLCHoklch(90.33% 0.121 95.9)
XYZxyz(68.4493, 74.0329, 30.0823)
Luminance0.7403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF7D #7D95F7
analogous
#F7A27D #F7DF7D #D2F77D
triadic
#F7DF7D #7DF7DF #DF7DF7
tetradic
#F7DF7D #7DF7A2 #7D95F7 #F77DD2
square
#F7DF7D #7DF7A2 #7D95F7 #F77DD2
split-complementary
#F7DF7D #7DD2F7 #A27DF7
monochromatic
#EBC00E #F3D143 #F7DF7D #FBEDB7 #FDF8E2

Accessibility & contrast

On white

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

On black

15.81
#F7DF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF7D
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF7D#FFFFFF#000000##000000
##F7DF7D1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7df7d;
/* rgb */ color: rgb(247, 223, 125);
/* oklch */ color: oklch(90.3% 0.121 95.9);
Tailwind
colors: {
  custom: {
    50: '#fce8a4',
    500: '#f7df7d',
    950: '#000000',
  },
}
SCSS
$custom: #f7df7d;
$custom-light: #fce8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df7d",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 48.197,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90325,
    "c": 0.12141,
    "h": 95.9
  },
  "luminance": 0.7403
}

Semantic roles & 50–950 ramp

primary
#F7DF7D
secondary
#4561D3
accent
#2DE500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7DF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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