#F7D552#F7D552

#F7D552 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.9% C 0.150 H 94.4°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#F7D552
RGBrgb(247, 213, 82)
HSLhsl(48, 91%, 65%)
HSVhsv(48, 67%, 97%)
CMYKcmyk(0%, 13.8%, 66.8%, 3.1%)
CIE-LABlab(85.99, -2.12, 66.60)
CIE-LCHlch(85.99, 66.64, 91.82°)
OKLaboklab(87.86% -0.0116 0.15)
OKLCHoklch(87.86% 0.15 94.4)
XYZxyz(63.6781, 67.9752, 17.7475)
Luminance0.6797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7D552 #5274F7
analogous
#F78252 #F7D552 #C7F752
triadic
#F7D552 #52F7D5 #D552F7
tetradic
#F7D552 #52F782 #5274F7 #F752C7
square
#F7D552 #52F782 #5274F7 #F752C7
split-complementary
#F7D552 #52C7F7 #8252F7
monochromatic
#C59F09 #F4C718 #F7D552 #FAE38C #FCF1C7

Accessibility & contrast

On white

1.44
#F7D552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#F7D552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7D552
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7D552#FFFFFF#000000##000000
##F7D5521.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#F3DB59
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f7d552;
/* rgb */ color: rgb(247, 213, 82);
/* oklch */ color: oklch(87.9% 0.150 94.4);
Tailwind
colors: {
  custom: {
    50: '#fee189',
    500: '#f7d552',
    950: '#000000',
  },
}
SCSS
$custom: #f7d552;
$custom-light: #fee189;
$custom-dark: #000000;
JSON
{
  "hex": "#f7d552",
  "rgb": {
    "r": 247,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 47.636,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87861,
    "c": 0.15044,
    "h": 94.4
  },
  "luminance": 0.67972
}

Semantic roles & 50–950 ramp

primary
#F7D552
secondary
#2B4AC2
accent
#2FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F7D552

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

Preview Lab → · Contrast checker → · Palette generator →

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