#F8D278#F8D278

#F8D278 is a very light, moderate orange. Relative luminance 0.674; OKLCH L 87.8% C 0.117 H 87.1°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#F8D278
RGBrgb(248, 210, 120)
HSLhsl(42, 90%, 72%)
HSVhsv(42, 52%, 97%)
CMYKcmyk(0%, 15.3%, 51.6%, 2.7%)
CIE-LABlab(85.71, 2.45, 49.18)
CIE-LCHlch(85.71, 49.24, 87.15°)
OKLaboklab(87.78% 0.006 0.1171)
OKLCHoklch(87.78% 0.117 87.1)
XYZxyz(65.1507, 67.4090, 27.3452)
Luminance0.6741 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D278 #789EF8
analogous
#F89278 #F8D278 #DEF878
triadic
#F8D278 #78F8D2 #D278F8
tetradic
#F8D278 #78F892 #789EF8 #F878DE
square
#F8D278 #78F892 #789EF8 #F878DE
split-complementary
#F8D278 #78DEF8 #9278F8
monochromatic
#E9A80C #F5BF3E #F8D278 #FBE5B2 #FDF5E2

Accessibility & contrast

On white

1.45
#F8D278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#F8D278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D278
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D278#FFFFFF#000000##000000
##F8D2781.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D070
Deuteranopia (green-blind)
#EEDB7B
Tritanopia (blue-blind)
#FFC4BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f8d278;
/* rgb */ color: rgb(248, 210, 120);
/* oklch */ color: oklch(87.8% 0.117 87.1);
Tailwind
colors: {
  custom: {
    50: '#fddfa1',
    500: '#f8d278',
    950: '#000000',
  },
}
SCSS
$custom: #f8d278;
$custom-light: #fddfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d278",
  "rgb": {
    "r": 248,
    "g": 210,
    "b": 120
  },
  "hsl": {
    "h": 42.188,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.87779,
    "c": 0.11721,
    "h": 87.1
  },
  "luminance": 0.67406
}

Semantic roles & 50–950 ramp

primary
#F8D278
secondary
#406CD4
accent
#44E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D278

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

Preview Lab → · Contrast checker → · Palette generator →

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