#F7F668#F7F668

#F7F668 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.8% C 0.162 H 108.8°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#F7F668
RGBrgb(247, 246, 104)
HSLhsl(60, 90%, 69%)
HSVhsv(60, 58%, 97%)
CMYKcmyk(0%, 0.4%, 57.9%, 3.1%)
CIE-LABlab(94.61, -17.16, 66.72)
CIE-LCHlch(94.61, 68.89, 104.42°)
OKLaboklab(94.76% -0.0521 0.1533)
OKLCHoklch(94.76% 0.162 108.8)
XYZxyz(73.8144, 86.6872, 25.9380)
Luminance0.8669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F668 #6869F7
analogous
#F7AF68 #F7F668 #B1F768
triadic
#F7F668 #68F7F6 #F668F7
tetradic
#F7F668 #68F7AF #6869F7 #F768B1
square
#F7F668 #68F7AF #6869F7 #F768B1
split-complementary
#F7F668 #68B1F7 #AF68F7
monochromatic
#D9D80C #F4F32E #F7F668 #FAF9A2 #FDFDDC

Accessibility & contrast

On white

1.15
#F7F668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#F7F668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F668
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F668#FFFFFF#000000##000000
##F7F6681.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED58
Deuteranopia (green-blind)
#FFF270
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f7f668;
/* rgb */ color: rgb(247, 246, 104);
/* oklch */ color: oklch(94.8% 0.162 108.8);
Tailwind
colors: {
  custom: {
    50: '#fdf998',
    500: '#f7f668',
    950: '#000000',
  },
}
SCSS
$custom: #f7f668;
$custom-light: #fdf998;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f668",
  "rgb": {
    "r": 247,
    "g": 246,
    "b": 104
  },
  "hsl": {
    "h": 59.58,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94757,
    "c": 0.16195,
    "h": 108.8
  },
  "luminance": 0.86685
}

Semantic roles & 50–950 ramp

primary
#F7F668
secondary
#3334D1
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F668

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

Preview Lab → · Contrast checker → · Palette generator →

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