#F8E07B#F8E07B

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

Color values

HEX#F8E07B
RGBrgb(248, 224, 123)
HSLhsl(48, 90%, 73%)
HSVhsv(48, 50%, 97%)
CMYKcmyk(0%, 9.7%, 50.4%, 2.7%)
CIE-LABlab(89.25, -4.42, 52.02)
CIE-LCHlch(89.25, 52.21, 94.86°)
OKLaboklab(90.59% -0.0136 0.1236)
OKLCHoklch(90.59% 0.124 96.3)
XYZxyz(68.9445, 74.7006, 29.5221)
Luminance0.7470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E07B #7B93F8
analogous
#F8A17B #F8E07B #D1F87B
triadic
#F8E07B #7BF8E0 #E07BF8
tetradic
#F8E07B #7BF8A1 #7B93F8 #F87BD1
square
#F8E07B #7BF8A1 #7B93F8 #F87BD1
split-complementary
#F8E07B #7BD1F8 #A17BF8
monochromatic
#ECC10D #F5D241 #F8E07B #FBEEB5 #FDF8E2

Accessibility & contrast

On white

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

On black

15.94
#F8E07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E07B
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E07B#FFFFFF#000000##000000
##F8E07B1.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC72
Deuteranopia (green-blind)
#F8E47F
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e07b;
/* rgb */ color: rgb(248, 224, 123);
/* oklch */ color: oklch(90.6% 0.124 96.3);
Tailwind
colors: {
  custom: {
    50: '#fde9a3',
    500: '#f8e07b',
    950: '#000000',
  },
}
SCSS
$custom: #f8e07b;
$custom-light: #fde9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e07b",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 123
  },
  "hsl": {
    "h": 48.48,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90587,
    "c": 0.12432,
    "h": 96.3
  },
  "luminance": 0.74698
}

Semantic roles & 50–950 ramp

primary
#F8E07B
secondary
#435FD4
accent
#2CE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E07B

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

Preview Lab → · Contrast checker → · Palette generator →

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