#F7F672#F7F672

#F7F672 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.154 H 108.6°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#F7F672
RGBrgb(247, 246, 114)
HSLhsl(60, 89%, 71%)
HSVhsv(60, 54%, 97%)
CMYKcmyk(0%, 0.4%, 53.8%, 3.1%)
CIE-LABlab(94.70, -16.44, 62.51)
CIE-LCHlch(94.70, 64.64, 104.73°)
OKLaboklab(94.86% -0.049 0.1455)
OKLCHoklch(94.86% 0.154 108.6)
XYZxyz(74.3528, 86.9026, 28.7735)
Luminance0.8690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F672 #7273F7
analogous
#F7B372 #F7F672 #B5F772
triadic
#F7F672 #72F7F6 #F672F7
tetradic
#F7F672 #72F7B3 #7273F7 #F772B5
square
#F7F672 #72F7B3 #7273F7 #F772B5
split-complementary
#F7F672 #72B5F7 #B372F7
monochromatic
#E2E00D #F4F238 #F7F672 #FAFAAC #FDFDE2

Accessibility & contrast

On white

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

On black

18.38
#F7F672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F672
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F672#FFFFFF#000000##000000
##F7F6721.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED65
Deuteranopia (green-blind)
#FFF279
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f7f672;
/* rgb */ color: rgb(247, 246, 114);
/* oklch */ color: oklch(94.9% 0.154 108.6);
Tailwind
colors: {
  custom: {
    50: '#fcf99e',
    500: '#f7f672',
    950: '#000000',
  },
}
SCSS
$custom: #f7f672;
$custom-light: #fcf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f672",
  "rgb": {
    "r": 247,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 59.549,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94859,
    "c": 0.15354,
    "h": 108.6
  },
  "luminance": 0.86901
}

Semantic roles & 50–950 ramp

primary
#F7F672
secondary
#3B3CD2
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F672

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

Preview Lab → · Contrast checker → · Palette generator →

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