#F8E082#F8E082

#F8E082 is a very light, moderate yellow. Relative luminance 0.749; OKLCH L 90.7% C 0.117 H 95.4°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F8E082
RGBrgb(248, 224, 130)
HSLhsl(48, 89%, 74%)
HSVhsv(48, 48%, 97%)
CMYKcmyk(0%, 9.7%, 47.6%, 2.7%)
CIE-LABlab(89.34, -3.81, 48.77)
CIE-LCHlch(89.34, 48.91, 94.46°)
OKLaboklab(90.68% -0.0111 0.1169)
OKLCHoklch(90.68% 0.117 95.4)
XYZxyz(69.3984, 74.8822, 31.9129)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E082 #829AF8
analogous
#F8A582 #F8E082 #D5F882
triadic
#F8E082 #82F8E0 #E082F8
tetradic
#F8E082 #82F8A5 #829AF8 #F882D5
square
#F8E082 #82F8A5 #829AF8 #F882D5
split-complementary
#F8E082 #82D5F8 #A582F8
monochromatic
#F2C30E #F5D248 #F8E082 #FBEEBC #FDF8E2

Accessibility & contrast

On white

1.31
#F8E082 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#F8E082 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E082
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E082#FFFFFF#000000##000000
##F8E0821.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e082;
/* rgb */ color: rgb(248, 224, 130);
/* oklch */ color: oklch(90.7% 0.117 95.4);
Tailwind
colors: {
  custom: {
    50: '#fde9a8',
    500: '#f8e082',
    950: '#000000',
  },
}
SCSS
$custom: #f8e082;
$custom-light: #fde9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e082",
  "rgb": {
    "r": 248,
    "g": 224,
    "b": 130
  },
  "hsl": {
    "h": 47.797,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90682,
    "c": 0.11743,
    "h": 95.4
  },
  "luminance": 0.74879
}

Semantic roles & 50–950 ramp

primary
#F8E082
secondary
#4966D5
accent
#2FE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F8E082

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

Preview Lab → · Contrast checker → · Palette generator →

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