#F7E968#F7E968

#F7E968 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.1% C 0.149 H 103.1°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#F7E968
RGBrgb(247, 233, 104)
HSLhsl(54, 90%, 69%)
HSVhsv(54, 58%, 97%)
CMYKcmyk(0%, 5.7%, 57.9%, 3.1%)
CIE-LABlab(91.26, -10.79, 63.01)
CIE-LCHlch(91.26, 63.93, 99.72°)
OKLaboklab(92.09% -0.0339 0.1454)
OKLCHoklch(92.09% 0.149 103.1)
XYZxyz(69.9978, 79.0540, 24.6658)
Luminance0.7905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E968 #6876F7
analogous
#F7A268 #F7E968 #BEF768
triadic
#F7E968 #68F7E9 #E968F7
tetradic
#F7E968 #68F7A2 #6876F7 #F768BE
square
#F7E968 #68F7A2 #6876F7 #F768BE
split-complementary
#F7E968 #68BEF7 #A268F7
monochromatic
#D9C50C #F4E12E #F7E968 #FAF1A2 #FDFADC

Accessibility & contrast

On white

1.25
#F7E968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#F7E968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E968
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E968#FFFFFF#000000##000000
##F7E9681.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE25A
Deuteranopia (green-blind)
#FFE96F
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e968;
/* rgb */ color: rgb(247, 233, 104);
/* oklch */ color: oklch(92.1% 0.149 103.1);
Tailwind
colors: {
  custom: {
    50: '#fdef97',
    500: '#f7e968',
    950: '#000000',
  },
}
SCSS
$custom: #f7e968;
$custom-light: #fdef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e968",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 104
  },
  "hsl": {
    "h": 54.126,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92093,
    "c": 0.14935,
    "h": 103.1
  },
  "luminance": 0.79051
}

Semantic roles & 50–950 ramp

primary
#F7E968
secondary
#3342D1
accent
#16E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7E968

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

Preview Lab → · Contrast checker → · Palette generator →

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