#F7E572#F7E572

#F7E572 is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.4% C 0.137 H 100.5°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#F7E572
RGBrgb(247, 229, 114)
HSLhsl(52, 89%, 71%)
HSVhsv(52, 54%, 97%)
CMYKcmyk(0%, 7.3%, 53.8%, 3.1%)
CIE-LABlab(90.34, -8.07, 57.49)
CIE-LCHlch(90.34, 58.05, 97.99°)
OKLaboklab(91.39% -0.025 0.1347)
OKLCHoklch(91.39% 0.137 100.5)
XYZxyz(69.4167, 77.0303, 27.1281)
Luminance0.7703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E572 #7284F7
analogous
#F7A272 #F7E572 #C6F772
triadic
#F7E572 #72F7E5 #E572F7
tetradic
#F7E572 #72F7A2 #7284F7 #F772C6
square
#F7E572 #72F7A2 #7284F7 #F772C6
split-complementary
#F7E572 #72C6F7 #A272F7
monochromatic
#E2C50D #F4DA38 #F7E572 #FAF0AC #FDFAE2

Accessibility & contrast

On white

1.28
#F7E572 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#F7E572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E572
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E572#FFFFFF#000000##000000
##F7E5721.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF67
Deuteranopia (green-blind)
#FCE777
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f7e572;
/* rgb */ color: rgb(247, 229, 114);
/* oklch */ color: oklch(91.4% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#fced9e',
    500: '#f7e572',
    950: '#000000',
  },
}
SCSS
$custom: #f7e572;
$custom-light: #fced9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e572",
  "rgb": {
    "r": 247,
    "g": 229,
    "b": 114
  },
  "hsl": {
    "h": 51.88,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91392,
    "c": 0.137,
    "h": 100.5
  },
  "luminance": 0.77028
}

Semantic roles & 50–950 ramp

primary
#F7E572
secondary
#3B50D2
accent
#1FE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E572

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

Preview Lab → · Contrast checker → · Palette generator →

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