#F7E072#F7E072

#F7E072 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.4% C 0.133 H 97.7°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#F7E072
RGBrgb(247, 224, 114)
HSLhsl(50, 89%, 71%)
HSVhsv(50, 54%, 97%)
CMYKcmyk(0%, 9.3%, 53.8%, 3.1%)
CIE-LABlab(89.07, -5.56, 56.01)
CIE-LCHlch(89.07, 56.28, 95.67°)
OKLaboklab(90.39% -0.0178 0.1315)
OKLCHoklch(90.39% 0.133 97.7)
XYZxyz(68.0531, 74.3032, 26.6736)
Luminance0.7430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E072 #7289F7
analogous
#F79D72 #F7E072 #CBF772
triadic
#F7E072 #72F7E0 #E072F7
tetradic
#F7E072 #72F79D #7289F7 #F772CB
square
#F7E072 #72F79D #7289F7 #F772CB
split-complementary
#F7E072 #72CBF7 #9D72F7
monochromatic
#E2BD0D #F4D338 #F7E072 #FAEDAC #FDF9E2

Accessibility & contrast

On white

1.32
#F7E072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#F7E072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E072
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E072#FFFFFF#000000##000000
##F7E0721.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB68
Deuteranopia (green-blind)
#F9E377
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e072;
/* rgb */ color: rgb(247, 224, 114);
/* oklch */ color: oklch(90.4% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#fce99d',
    500: '#f7e072',
    950: '#000000',
  },
}
SCSS
$custom: #f7e072;
$custom-light: #fce99d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e072",
  "rgb": {
    "r": 247,
    "g": 224,
    "b": 114
  },
  "hsl": {
    "h": 49.624,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90385,
    "c": 0.13267,
    "h": 97.7
  },
  "luminance": 0.743
}

Semantic roles & 50–950 ramp

primary
#F7E072
secondary
#3B55D2
accent
#28E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E072

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

Preview Lab → · Contrast checker → · Palette generator →

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