#F7D672#F7D672

#F7D672 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.4% C 0.125 H 91.5°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#F7D672
RGBrgb(247, 214, 114)
HSLhsl(45, 89%, 71%)
HSVhsv(45, 54%, 97%)
CMYKcmyk(0%, 13.4%, 53.8%, 3.1%)
CIE-LABlab(86.55, -0.49, 53.04)
CIE-LCHlch(86.55, 53.04, 90.53°)
OKLaboklab(88.39% -0.0032 0.125)
OKLCHoklch(88.39% 0.125 91.5)
XYZxyz(65.4442, 69.0853, 25.8040)
Luminance0.6908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D672 #7293F7
analogous
#F79372 #F7D672 #D5F772
triadic
#F7D672 #72F7D6 #D672F7
tetradic
#F7D672 #72F793 #7293F7 #F772D5
square
#F7D672 #72F793 #7293F7 #F772D5
split-complementary
#F7D672 #72D5F7 #9372F7
monochromatic
#E2AD0D #F4C538 #F7D672 #FAE7AC #FDF7E2

Accessibility & contrast

On white

1.42
#F7D672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#F7D672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D672
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D672#FFFFFF#000000##000000
##F7D6721.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D369
Deuteranopia (green-blind)
#F1DD76
Tritanopia (blue-blind)
#FFC8BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f7d672;
/* rgb */ color: rgb(247, 214, 114);
/* oklch */ color: oklch(88.4% 0.125 91.5);
Tailwind
colors: {
  custom: {
    50: '#fce29d',
    500: '#f7d672',
    950: '#000000',
  },
}
SCSS
$custom: #f7d672;
$custom-light: #fce29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d672",
  "rgb": {
    "r": 247,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 45.113,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88394,
    "c": 0.12505,
    "h": 91.5
  },
  "luminance": 0.69082
}

Semantic roles & 50–950 ramp

primary
#F7D672
secondary
#3B61D2
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F7D672

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

Preview Lab → · Contrast checker → · Palette generator →

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