#F7D868#F7D868

#F7D868 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.7% C 0.135 H 94.0°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#F7D868
RGBrgb(247, 216, 104)
HSLhsl(47, 90%, 69%)
HSVhsv(47, 58%, 97%)
CMYKcmyk(0%, 12.6%, 57.9%, 3.1%)
CIE-LABlab(86.94, -2.26, 58.14)
CIE-LCHlch(86.94, 58.18, 92.23°)
OKLaboklab(88.67% -0.0095 0.135)
OKLCHoklch(88.67% 0.135 94)
XYZxyz(65.4151, 69.8885, 23.1382)
Luminance0.6988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D868 #6887F7
analogous
#F79168 #F7D868 #CFF768
triadic
#F7D868 #68F7D8 #D868F7
tetradic
#F7D868 #68F791 #6887F7 #F768CF
square
#F7D868 #68F791 #6887F7 #F768CF
split-complementary
#F7D868 #68CFF7 #9168F7
monochromatic
#D9AD0C #F4C92E #F7D868 #FAE7A2 #FDF6DC

Accessibility & contrast

On white

1.40
#F7D868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#F7D868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D868
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D868#FFFFFF#000000##000000
##F7D8681.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45D
Deuteranopia (green-blind)
#F4DE6D
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f7d868;
/* rgb */ color: rgb(247, 216, 104);
/* oklch */ color: oklch(88.7% 0.135 94.0);
Tailwind
colors: {
  custom: {
    50: '#fde396',
    500: '#f7d868',
    950: '#000000',
  },
}
SCSS
$custom: #f7d868;
$custom-light: #fde396;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d868",
  "rgb": {
    "r": 247,
    "g": 216,
    "b": 104
  },
  "hsl": {
    "h": 46.993,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88672,
    "c": 0.13534,
    "h": 94
  },
  "luminance": 0.69885
}

Semantic roles & 50–950 ramp

primary
#F7D868
secondary
#3355D1
accent
#32E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D868

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

Preview Lab → · Contrast checker → · Palette generator →

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