#F7F968#F7F968

#F7F968 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.4% C 0.165 H 109.9°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#F7F968
RGBrgb(247, 249, 104)
HSLhsl(61, 92%, 69%)
HSVhsv(61, 58%, 98%)
CMYKcmyk(0.8%, 0%, 58.2%, 2.4%)
CIE-LABlab(95.38, -18.60, 67.57)
CIE-LCHlch(95.38, 70.09, 105.39°)
OKLaboklab(95.38% -0.0562 0.1552)
OKLCHoklch(95.38% 0.165 109.9)
XYZxyz(74.7343, 88.5269, 26.2446)
Luminance0.8852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F968 #6A68F9
analogous
#F9B368 #F7F968 #AEF968
triadic
#F7F968 #68F7F9 #F968F7
tetradic
#F7F968 #68F9B3 #6A68F9 #F968AE
square
#F7F968 #68F9B3 #6A68F9 #F968AE
split-complementary
#F7F968 #68AEF9 #B368F9
monochromatic
#DBDE09 #F4F72D #F7F968 #FAFBA3 #FDFEDE

Accessibility & contrast

On white

1.12
#F7F968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.70
#F7F968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F968
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F968#FFFFFF#000000##000000
##F7F9681.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF57
Deuteranopia (green-blind)
#FFF471
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f968;
/* rgb */ color: rgb(247, 249, 104);
/* oklch */ color: oklch(95.4% 0.165 109.9);
Tailwind
colors: {
  custom: {
    50: '#fdfb98',
    500: '#f7f968',
    950: '#000000',
  },
}
SCSS
$custom: #f7f968;
$custom-light: #fdfb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f968",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 60.828,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95376,
    "c": 0.16501,
    "h": 109.9
  },
  "luminance": 0.88525
}

Semantic roles & 50–950 ramp

primary
#F7F968
secondary
#3432D3
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F968

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

Preview Lab → · Contrast checker → · Palette generator →

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