#F8D178#F8D178

#F8D178 is a very light, moderate orange. Relative luminance 0.669; OKLCH L 87.6% C 0.117 H 86.3°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#F8D178
RGBrgb(248, 209, 120)
HSLhsl(42, 90%, 72%)
HSVhsv(42, 52%, 97%)
CMYKcmyk(0%, 15.7%, 51.6%, 2.7%)
CIE-LABlab(85.46, 2.96, 48.88)
CIE-LCHlch(85.46, 48.97, 86.53°)
OKLaboklab(87.58% 0.0075 0.1164)
OKLCHoklch(87.58% 0.117 86.3)
XYZxyz(64.9046, 66.9168, 27.2632)
Luminance0.6691 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D178 #789FF8
analogous
#F89178 #F8D178 #DFF878
triadic
#F8D178 #78F8D1 #D178F8
tetradic
#F8D178 #78F891 #789FF8 #F878DF
square
#F8D178 #78F891 #789FF8 #F878DF
split-complementary
#F8D178 #78DFF8 #9178F8
monochromatic
#E9A60C #F5BD3E #F8D178 #FBE5B2 #FDF5E2

Accessibility & contrast

On white

1.46
#F8D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#F8D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D178
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D178#FFFFFF#000000##000000
##F8D1781.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D070
Deuteranopia (green-blind)
#EDDA7B
Tritanopia (blue-blind)
#FFC3BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f8d178;
/* rgb */ color: rgb(248, 209, 120);
/* oklch */ color: oklch(87.6% 0.117 86.3);
Tailwind
colors: {
  custom: {
    50: '#fddea1',
    500: '#f8d178',
    950: '#000000',
  },
}
SCSS
$custom: #f8d178;
$custom-light: #fddea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d178",
  "rgb": {
    "r": 248,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 41.719,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.87583,
    "c": 0.11663,
    "h": 86.3
  },
  "luminance": 0.66913
}

Semantic roles & 50–950 ramp

primary
#F8D178
secondary
#406DD4
accent
#46E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D178

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

Preview Lab → · Contrast checker → · Palette generator →

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