#F7D968#F7D968

#F7D968 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.9% C 0.136 H 94.6°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#F7D968
RGBrgb(247, 217, 104)
HSLhsl(47, 90%, 69%)
HSVhsv(47, 58%, 97%)
CMYKcmyk(0%, 12.1%, 57.9%, 3.1%)
CIE-LABlab(87.19, -2.77, 58.42)
CIE-LCHlch(87.19, 58.49, 92.72°)
OKLaboklab(88.87% -0.0109 0.1356)
OKLCHoklch(88.87% 0.136 94.6)
XYZxyz(65.6720, 70.4025, 23.2239)
Luminance0.7040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D968 #6886F7
analogous
#F79268 #F7D968 #CDF768
triadic
#F7D968 #68F7D9 #D968F7
tetradic
#F7D968 #68F792 #6886F7 #F768CD
square
#F7D968 #68F792 #6886F7 #F768CD
split-complementary
#F7D968 #68CDF7 #9268F7
monochromatic
#D9AE0C #F4CA2E #F7D968 #FAE8A2 #FDF6DC

Accessibility & contrast

On white

1.39
#F7D968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#F7D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D968
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D968#FFFFFF#000000##000000
##F7D9681.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7d968;
/* rgb */ color: rgb(247, 217, 104);
/* oklch */ color: oklch(88.9% 0.136 94.6);
Tailwind
colors: {
  custom: {
    50: '#fde497',
    500: '#f7d968',
    950: '#000000',
  },
}
SCSS
$custom: #f7d968;
$custom-light: #fde497;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d968",
  "rgb": {
    "r": 247,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 47.413,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88871,
    "c": 0.13606,
    "h": 94.6
  },
  "luminance": 0.70399
}

Semantic roles & 50–950 ramp

primary
#F7D968
secondary
#3354D1
accent
#30E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D968

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

Preview Lab → · Contrast checker → · Palette generator →

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