#F7E772#F7E772

#F7E772 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.8% C 0.139 H 101.6°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#F7E772
RGBrgb(247, 231, 114)
HSLhsl(53, 89%, 71%)
HSVhsv(53, 54%, 97%)
CMYKcmyk(0%, 6.5%, 53.8%, 3.1%)
CIE-LABlab(90.85, -9.06, 58.08)
CIE-LCHlch(90.85, 58.78, 98.87°)
OKLaboklab(91.8% -0.0279 0.136)
OKLCHoklch(91.8% 0.139 101.6)
XYZxyz(69.9732, 78.1434, 27.3136)
Luminance0.7814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E772 #7282F7
analogous
#F7A472 #F7E772 #C4F772
triadic
#F7E772 #72F7E7 #E772F7
tetradic
#F7E772 #72F7A4 #7282F7 #F772C4
square
#F7E772 #72F7A4 #7282F7 #F772C4
split-complementary
#F7E772 #72C4F7 #A472F7
monochromatic
#E2C80D #F4DD38 #F7E772 #FAF1AC #FDFAE2

Accessibility & contrast

On white

1.26
#F7E772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#F7E772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E772
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E772#FFFFFF#000000##000000
##F7E7721.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E167
Deuteranopia (green-blind)
#FEE878
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e772;
/* rgb */ color: rgb(247, 231, 114);
/* oklch */ color: oklch(91.8% 0.139 101.6);
Tailwind
colors: {
  custom: {
    50: '#fcee9e',
    500: '#f7e772',
    950: '#000000',
  },
}
SCSS
$custom: #f7e772;
$custom-light: #fcee9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e772",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 52.782,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91796,
    "c": 0.13881,
    "h": 101.6
  },
  "luminance": 0.78141
}

Semantic roles & 50–950 ramp

primary
#F7E772
secondary
#3B4DD2
accent
#1CE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E772

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

Preview Lab → · Contrast checker → · Palette generator →

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