#F7DF7A#F7DF7A

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

Color values

HEX#F7DF7A
RGBrgb(247, 223, 122)
HSLhsl(48, 89%, 72%)
HSVhsv(48, 51%, 97%)
CMYKcmyk(0%, 9.7%, 50.6%, 3.1%)
CIE-LABlab(88.90, -4.40, 52.06)
CIE-LCHlch(88.90, 52.24, 94.83°)
OKLaboklab(90.29% -0.0136 0.1236)
OKLCHoklch(90.29% 0.124 96.3)
XYZxyz(68.2606, 73.9574, 29.0882)
Luminance0.7396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF7A #7A92F7
analogous
#F7A17A #F7DF7A #D0F77A
triadic
#F7DF7A #7AF7DF #DF7AF7
tetradic
#F7DF7A #7AF7A1 #7A92F7 #F77AD0
square
#F7DF7A #7AF7A1 #7A92F7 #F77AD0
split-complementary
#F7DF7A #7AD0F7 #A17AF7
monochromatic
#E9BF0E #F4D140 #F7DF7A #FAEDB4 #FDF8E2

Accessibility & contrast

On white

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

On black

15.79
#F7DF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF7A
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF7A#FFFFFF#000000##000000
##F7DF7A1.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB71
Deuteranopia (green-blind)
#F7E37E
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df7a;
/* rgb */ color: rgb(247, 223, 122);
/* oklch */ color: oklch(90.3% 0.124 96.3);
Tailwind
colors: {
  custom: {
    50: '#fce8a2',
    500: '#f7df7a',
    950: '#000000',
  },
}
SCSS
$custom: #f7df7a;
$custom-light: #fce8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df7a",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 122
  },
  "hsl": {
    "h": 48.48,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90285,
    "c": 0.12433,
    "h": 96.3
  },
  "luminance": 0.73955
}

Semantic roles & 50–950 ramp

primary
#F7DF7A
secondary
#425ED3
accent
#2CE500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7DF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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