#F7DF8A#F7DF8A

#F7DF8A is a very light, moderate yellow. Relative luminance 0.744; OKLCH L 90.5% C 0.108 H 94.1°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#F7DF8A
RGBrgb(247, 223, 138)
HSLhsl(47, 87%, 75%)
HSVhsv(47, 44%, 97%)
CMYKcmyk(0%, 9.7%, 44.1%, 3.1%)
CIE-LABlab(89.11, -2.94, 44.54)
CIE-LCHlch(89.11, 44.64, 93.78°)
OKLaboklab(90.51% -0.0078 0.108)
OKLCHoklch(90.51% 0.108 94.1)
XYZxyz(69.3348, 74.3871, 34.7457)
Luminance0.7438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF8A #8AA2F7
analogous
#F7A88A #F7DF8A #D8F78A
triadic
#F7DF8A #8AF7DF #DF8AF7
tetradic
#F7DF8A #8AF7A8 #8AA2F7 #F78AD8
square
#F7DF8A #8AF7A8 #8AA2F7 #F78AD8
split-complementary
#F7DF8A #8AD8F7 #A88AF7
monochromatic
#EFC017 #F3CF51 #F7DF8A #FBEFC3 #FDF7E2

Accessibility & contrast

On white

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

On black

15.88
#F7DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF8A
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF8A#FFFFFF#000000##000000
##F7DF8A1.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7df8a;
/* rgb */ color: rgb(247, 223, 138);
/* oklch */ color: oklch(90.5% 0.108 94.1);
Tailwind
colors: {
  custom: {
    50: '#fce8ad',
    500: '#f7df8a',
    950: '#000000',
  },
}
SCSS
$custom: #f7df8a;
$custom-light: #fce8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df8a",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 46.789,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.90511,
    "c": 0.10824,
    "h": 94.1
  },
  "luminance": 0.74384
}

Semantic roles & 50–950 ramp

primary
#F7DF8A
secondary
#506ED5
accent
#34E402
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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