#F7E992#F7E992

#F7E992 is a very light, moderate yellow. Relative luminance 0.801; OKLCH L 92.6% C 0.109 H 100.3°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#F7E992
RGBrgb(247, 233, 146)
HSLhsl(52, 86%, 77%)
HSVhsv(52, 41%, 97%)
CMYKcmyk(0%, 5.7%, 40.9%, 3.1%)
CIE-LABlab(91.74, -7.17, 43.94)
CIE-LCHlch(91.74, 44.52, 99.27°)
OKLaboklab(92.63% -0.0194 0.107)
OKLCHoklch(92.63% 0.109 100.3)
XYZxyz(72.6865, 80.1295, 38.8262)
Luminance0.8013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E992 #92A0F7
analogous
#F7B792 #F7E992 #D3F792
triadic
#F7E992 #92F7E9 #E992F7
tetradic
#F7E992 #92F7B7 #92A0F7 #F792D3
square
#F7E992 #92F7B7 #92A0F7 #F792D3
split-complementary
#F7E992 #92D3F7 #B792F7
monochromatic
#EFD220 #F3DD59 #F7E992 #FBF5CB #FDF9E2

Accessibility & contrast

On white

1.23
#F7E992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#F7E992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E992
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E992#FFFFFF#000000##000000
##F7E9921.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E48B
Deuteranopia (green-blind)
#FCEA95
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f7e992;
/* rgb */ color: rgb(247, 233, 146);
/* oklch */ color: oklch(92.6% 0.109 100.3);
Tailwind
colors: {
  custom: {
    50: '#fbefb3',
    500: '#f7e992',
    950: '#000000',
  },
}
SCSS
$custom: #f7e992;
$custom-light: #fbefb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e992",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 146
  },
  "hsl": {
    "h": 51.683,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.92634,
    "c": 0.10876,
    "h": 100.3
  },
  "luminance": 0.80127
}

Semantic roles & 50–950 ramp

primary
#F7E992
secondary
#5869D6
accent
#22E303
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7E992

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

Preview Lab → · Contrast checker → · Palette generator →

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