#F8D279#F8D279

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

Color values

HEX#F8D279
RGBrgb(248, 210, 121)
HSLhsl(42, 90%, 72%)
HSVhsv(42, 51%, 97%)
CMYKcmyk(0%, 15.3%, 51.2%, 2.7%)
CIE-LABlab(85.72, 2.54, 48.71)
CIE-LCHlch(85.72, 48.77, 87.02°)
OKLaboklab(87.79% 0.0064 0.1161)
OKLCHoklch(87.79% 0.116 86.9)
XYZxyz(65.2117, 67.4334, 27.6665)
Luminance0.6743 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D279 #799FF8
analogous
#F89279 #F8D279 #DFF879
triadic
#F8D279 #79F8D2 #D279F8
tetradic
#F8D279 #79F892 #799FF8 #F879DF
square
#F8D279 #79F892 #799FF8 #F879DF
split-complementary
#F8D279 #79DFF8 #9279F8
monochromatic
#EAA80C #F5BE3F #F8D279 #FBE6B3 #FDF5E2

Accessibility & contrast

On white

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

On black

14.49
#F8D279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D279
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D279#FFFFFF#000000##000000
##F8D2791.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8d279;
/* rgb */ color: rgb(248, 210, 121);
/* oklch */ color: oklch(87.8% 0.116 86.9);
Tailwind
colors: {
  custom: {
    50: '#fddfa1',
    500: '#f8d279',
    950: '#000000',
  },
}
SCSS
$custom: #f8d279;
$custom-light: #fddfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d279",
  "rgb": {
    "r": 248,
    "g": 210,
    "b": 121
  },
  "hsl": {
    "h": 42.047,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.87792,
    "c": 0.11627,
    "h": 86.9
  },
  "luminance": 0.6743
}

Semantic roles & 50–950 ramp

primary
#F8D279
secondary
#416DD4
accent
#45E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D279

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

Preview Lab → · Contrast checker → · Palette generator →

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