#F8E685#F8E685

#F8E685 is a very light, moderate yellow. Relative luminance 0.782; OKLCH L 91.9% C 0.120 H 99.0°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#F8E685
RGBrgb(248, 230, 133)
HSLhsl(51, 89%, 75%)
HSVhsv(51, 46%, 97%)
CMYKcmyk(0%, 7.3%, 46.4%, 2.7%)
CIE-LABlab(90.89, -6.55, 49.23)
CIE-LCHlch(90.89, 49.66, 97.58°)
OKLaboklab(91.92% -0.0188 0.1182)
OKLCHoklch(91.92% 0.12 99)
XYZxyz(71.2438, 78.2460, 33.5359)
Luminance0.7824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E685 #8597F8
analogous
#F8AD85 #F8E685 #D0F885
triadic
#F8E685 #85F8E6 #E685F8
tetradic
#F8E685 #85F8AD #8597F8 #F885D0
square
#F8E685 #85F8AD #8597F8 #F885D0
split-complementary
#F8E685 #85D0F8 #AD85F8
monochromatic
#F1CE11 #F5DA4B #F8E685 #FBF2BF #FDF9E2

Accessibility & contrast

On white

1.26
#F8E685 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#F8E685 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E685
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E685#FFFFFF#000000##000000
##F8E6851.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E17D
Deuteranopia (green-blind)
#FCE889
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e685;
/* rgb */ color: rgb(248, 230, 133);
/* oklch */ color: oklch(91.9% 0.120 99.0);
Tailwind
colors: {
  custom: {
    50: '#fcedaa',
    500: '#f8e685',
    950: '#000000',
  },
}
SCSS
$custom: #f8e685;
$custom-light: #fcedaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e685",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 133
  },
  "hsl": {
    "h": 50.609,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.91924,
    "c": 0.11963,
    "h": 99
  },
  "luminance": 0.78244
}

Semantic roles & 50–950 ramp

primary
#F8E685
secondary
#4C61D5
accent
#24E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E685

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

Preview Lab → · Contrast checker → · Palette generator →

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