#F7F678#F7F678

#F7F678 is a very light, vivid yellow. Relative luminance 0.870; OKLCH L 94.9% C 0.148 H 108.5°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#F7F678
RGBrgb(247, 246, 120)
HSLhsl(60, 89%, 72%)
HSVhsv(60, 51%, 97%)
CMYKcmyk(0%, 0.4%, 51.4%, 3.1%)
CIE-LABlab(94.76, -15.97, 59.91)
CIE-LCHlch(94.76, 62.00, 104.92°)
OKLaboklab(94.93% -0.047 0.1405)
OKLCHoklch(94.93% 0.148 108.5)
XYZxyz(74.7056, 87.0437, 30.6315)
Luminance0.8704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F678 #7879F7
analogous
#F7B778 #F7F678 #B8F778
triadic
#F7F678 #78F7F6 #F678F7
tetradic
#F7F678 #78F7B7 #7879F7 #F778B8
square
#F7F678 #78F7B7 #7879F7 #F778B8
split-complementary
#F7F678 #78B8F7 #B778F7
monochromatic
#E7E50E #F4F23E #F7F678 #FAFAB2 #FDFDE2

Accessibility & contrast

On white

1.14
#F7F678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#F7F678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F678
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F678#FFFFFF#000000##000000
##F7F6781.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFF27F
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f7f678;
/* rgb */ color: rgb(247, 246, 120);
/* oklch */ color: oklch(94.9% 0.148 108.5);
Tailwind
colors: {
  custom: {
    50: '#fcf9a2',
    500: '#f7f678',
    950: '#000000',
  },
}
SCSS
$custom: #f7f678;
$custom-light: #fcf9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f678",
  "rgb": {
    "r": 247,
    "g": 246,
    "b": 120
  },
  "hsl": {
    "h": 59.528,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94926,
    "c": 0.14818,
    "h": 108.5
  },
  "luminance": 0.87042
}

Semantic roles & 50–950 ramp

primary
#F7F678
secondary
#4142D3
accent
#02E500
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F678

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

Preview Lab → · Contrast checker → · Palette generator →

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