#F8DA7B#F8DA7B

#F8DA7B is a very light, moderate yellow. Relative luminance 0.715; OKLCH L 89.4% C 0.120 H 92.3°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#F8DA7B
RGBrgb(248, 218, 123)
HSLhsl(46, 90%, 73%)
HSVhsv(46, 50%, 97%)
CMYKcmyk(0%, 12.1%, 50.4%, 2.7%)
CIE-LABlab(87.74, -1.38, 50.20)
CIE-LCHlch(87.74, 50.22, 91.58°)
OKLaboklab(89.39% -0.0048 0.1196)
OKLCHoklch(89.39% 0.12 92.3)
XYZxyz(67.3603, 71.5323, 28.9940)
Luminance0.7153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DA7B #7B99F8
analogous
#F89B7B #F8DA7B #D7F87B
triadic
#F8DA7B #7BF8DA #DA7BF8
tetradic
#F8DA7B #7BF89B #7B99F8 #F87BD7
square
#F8DA7B #7BF89B #7B99F8 #F87BD7
split-complementary
#F8DA7B #7BD7F8 #9B7BF8
monochromatic
#ECB60D #F5CA41 #F8DA7B #FBEAB5 #FDF7E2

Accessibility & contrast

On white

1.37
#F8DA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#F8DA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DA7B
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DA7B#FFFFFF#000000##000000
##F8DA7B1.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD773
Deuteranopia (green-blind)
#F4E07F
Tritanopia (blue-blind)
#FFCDC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f8da7b;
/* rgb */ color: rgb(248, 218, 123);
/* oklch */ color: oklch(89.4% 0.120 92.3);
Tailwind
colors: {
  custom: {
    50: '#fde5a3',
    500: '#f8da7b',
    950: '#000000',
  },
}
SCSS
$custom: #f8da7b;
$custom-light: #fde5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8da7b",
  "rgb": {
    "r": 248,
    "g": 218,
    "b": 123
  },
  "hsl": {
    "h": 45.6,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89394,
    "c": 0.11965,
    "h": 92.3
  },
  "luminance": 0.71529
}

Semantic roles & 50–950 ramp

primary
#F8DA7B
secondary
#4366D4
accent
#37E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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