#F7D154#F7D154

#F7D154 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 87.1% C 0.146 H 92.0°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#F7D154
RGBrgb(247, 209, 84)
HSLhsl(46, 91%, 65%)
HSVhsv(46, 66%, 97%)
CMYKcmyk(0%, 15.4%, 66%, 3.1%)
CIE-LABlab(85.01, 0.03, 64.74)
CIE-LCHlch(85.01, 64.74, 89.97°)
OKLaboklab(87.09% -0.0052 0.1464)
OKLCHoklch(87.09% 0.146 92)
XYZxyz(62.7616, 66.0187, 17.8229)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D154 #547AF7
analogous
#F77F54 #F7D154 #CCF754
triadic
#F7D154 #54F7D1 #D154F7
tetradic
#F7D154 #54F77F #547AF7 #F754CC
square
#F7D154 #54F77F #547AF7 #F754CC
split-complementary
#F7D154 #54CCF7 #7F54F7
monochromatic
#C79B09 #F4C11A #F7D154 #FAE18E #FCF0C9

Accessibility & contrast

On white

1.48
#F7D154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#F7D154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D154
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D154#FFFFFF#000000##000000
##F7D1541.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE45
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f7d154;
/* rgb */ color: rgb(247, 209, 84);
/* oklch */ color: oklch(87.1% 0.146 92.0);
Tailwind
colors: {
  custom: {
    50: '#fede8a',
    500: '#f7d154',
    950: '#000000',
  },
}
SCSS
$custom: #f7d154;
$custom-light: #fede8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d154",
  "rgb": {
    "r": 247,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 46.012,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87085,
    "c": 0.14646,
    "h": 92
  },
  "luminance": 0.66015
}

Semantic roles & 50–950 ramp

primary
#F7D154
secondary
#2B4FC4
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D154

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

Preview Lab → · Contrast checker → · Palette generator →

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