#F8DF7E#F8DF7E

#F8DF7E is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.4% C 0.121 H 95.3°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F8DF7E
RGBrgb(248, 223, 126)
HSLhsl(48, 90%, 73%)
HSVhsv(48, 49%, 97%)
CMYKcmyk(0%, 10.1%, 49.2%, 2.7%)
CIE-LABlab(89.04, -3.66, 50.33)
CIE-LCHlch(89.04, 50.46, 94.16°)
OKLaboklab(90.43% -0.0111 0.1201)
OKLCHoklch(90.43% 0.121 95.3)
XYZxyz(68.8672, 74.2410, 30.4370)
Luminance0.7424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DF7E #7E97F8
analogous
#F8A27E #F8DF7E #D4F87E
triadic
#F8DF7E #7EF8DF #DF7EF8
tetradic
#F8DF7E #7EF8A2 #7E97F8 #F87ED4
square
#F8DF7E #7EF8A2 #7E97F8 #F87ED4
split-complementary
#F8DF7E #7ED4F8 #A27EF8
monochromatic
#EFC00D #F5D144 #F8DF7E #FBEDB8 #FDF8E2

Accessibility & contrast

On white

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

On black

15.85
#F8DF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DF7E
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DF7E#FFFFFF#000000##000000
##F8DF7E1.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB76
Deuteranopia (green-blind)
#F7E382
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8df7e;
/* rgb */ color: rgb(248, 223, 126);
/* oklch */ color: oklch(90.4% 0.121 95.3);
Tailwind
colors: {
  custom: {
    50: '#fde8a5',
    500: '#f8df7e',
    950: '#000000',
  },
}
SCSS
$custom: #f8df7e;
$custom-light: #fde8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8df7e",
  "rgb": {
    "r": 248,
    "g": 223,
    "b": 126
  },
  "hsl": {
    "h": 47.705,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.90427,
    "c": 0.12058,
    "h": 95.3
  },
  "luminance": 0.74238
}

Semantic roles & 50–950 ramp

primary
#F8DF7E
secondary
#4663D5
accent
#2FE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8DF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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