#F8E670#F8E670

#F8E670 is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.7% C 0.140 H 100.7°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#F8E670
RGBrgb(248, 230, 112)
HSLhsl(52, 91%, 71%)
HSVhsv(52, 55%, 97%)
CMYKcmyk(0%, 7.3%, 54.8%, 2.7%)
CIE-LABlab(90.65, -8.32, 58.79)
CIE-LCHlch(90.65, 59.37, 98.05°)
OKLaboklab(91.66% -0.026 0.1373)
OKLCHoklch(91.66% 0.14 100.7)
XYZxyz(69.9352, 77.7226, 26.6442)
Luminance0.7772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E670 #7082F8
analogous
#F8A270 #F8E670 #C6F870
triadic
#F8E670 #70F8E6 #E670F8
tetradic
#F8E670 #70F8A2 #7082F8 #F870C6
square
#F8E670 #70F8A2 #7082F8 #F870C6
split-complementary
#F8E670 #70C6F8 #A270F8
monochromatic
#E3C60B #F5DC36 #F8E670 #FBF0AA #FEFAE2

Accessibility & contrast

On white

1.27
#F8E670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#F8E670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E670
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E670#FFFFFF#000000##000000
##F8E6701.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E064
Deuteranopia (green-blind)
#FEE776
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e670;
/* rgb */ color: rgb(248, 230, 112);
/* oklch */ color: oklch(91.7% 0.140 100.7);
Tailwind
colors: {
  custom: {
    50: '#fded9c',
    500: '#f8e670',
    950: '#000000',
  },
}
SCSS
$custom: #f8e670;
$custom-light: #fded9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e670",
  "rgb": {
    "r": 248,
    "g": 230,
    "b": 112
  },
  "hsl": {
    "h": 52.059,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91657,
    "c": 0.13972,
    "h": 100.7
  },
  "luminance": 0.7772
}

Semantic roles & 50–950 ramp

primary
#F8E670
secondary
#394ED3
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E670

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

Preview Lab → · Contrast checker → · Palette generator →

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