#F7D754#F7D754

#F7D754 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.3% C 0.150 H 95.3°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#F7D754
RGBrgb(247, 215, 84)
HSLhsl(48, 91%, 65%)
HSVhsv(48, 66%, 97%)
CMYKcmyk(0%, 13%, 66%, 3.1%)
CIE-LABlab(86.51, -3.03, 66.33)
CIE-LCHlch(86.51, 66.40, 92.61°)
OKLaboklab(88.28% -0.014 0.1497)
OKLCHoklch(88.28% 0.15 95.3)
XYZxyz(64.2615, 69.0184, 18.3228)
Luminance0.6902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D754 #5474F7
analogous
#F78654 #F7D754 #C5F754
triadic
#F7D754 #54F7D7 #D754F7
tetradic
#F7D754 #54F786 #5474F7 #F754C5
square
#F7D754 #54F786 #5474F7 #F754C5
split-complementary
#F7D754 #54C5F7 #8654F7
monochromatic
#C7A209 #F4C91A #F7D754 #FAE58E #FCF2C9

Accessibility & contrast

On white

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

On black

14.80
#F7D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D754
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D754#FFFFFF#000000##000000
##F7D7541.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD343
Deuteranopia (green-blind)
#F4DD5B
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f7d754;
/* rgb */ color: rgb(247, 215, 84);
/* oklch */ color: oklch(88.3% 0.150 95.3);
Tailwind
colors: {
  custom: {
    50: '#fee38a',
    500: '#f7d754',
    950: '#000000',
  },
}
SCSS
$custom: #f7d754;
$custom-light: #fee38a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d754",
  "rgb": {
    "r": 247,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 48.221,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88276,
    "c": 0.15038,
    "h": 95.3
  },
  "luminance": 0.69015
}

Semantic roles & 50–950 ramp

primary
#F7D754
secondary
#2B49C4
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D754

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

Preview Lab → · Contrast checker → · Palette generator →

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