#F7E993#F7E993

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

Color values

HEX#F7E993
RGBrgb(247, 233, 147)
HSLhsl(52, 86%, 77%)
HSVhsv(52, 40%, 97%)
CMYKcmyk(0%, 5.7%, 40.5%, 3.1%)
CIE-LABlab(91.76, -7.07, 43.46)
CIE-LCHlch(91.76, 44.03, 99.24°)
OKLaboklab(92.65% -0.019 0.106)
OKLCHoklch(92.65% 0.108 100.2)
XYZxyz(72.7646, 80.1607, 39.2377)
Luminance0.8016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E993 #93A1F7
analogous
#F7B793 #F7E993 #D3F793
triadic
#F7E993 #93F7E9 #E993F7
tetradic
#F7E993 #93F7B7 #93A1F7 #F793D3
square
#F7E993 #93F7B7 #93A1F7 #F793D3
split-complementary
#F7E993 #93D3F7 #B793F7
monochromatic
#EFD221 #F3DD5A #F7E993 #FBF5CC #FDF9E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7E993#FFFFFF#000000##000000
##F7E9931.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)
#F8E48C
Deuteranopia (green-blind)
#FCEA96
Tritanopia (blue-blind)
#FFDED4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f7e993;
/* rgb */ color: rgb(247, 233, 147);
/* oklch */ color: oklch(92.6% 0.108 100.2);
Tailwind
colors: {
  custom: {
    50: '#fbefb4',
    500: '#f7e993',
    950: '#000000',
  },
}
SCSS
$custom: #f7e993;
$custom-light: #fbefb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e993",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 147
  },
  "hsl": {
    "h": 51.6,
    "s": 86.207,
    "l": 77.255
  },
  "oklch": {
    "l": 0.92649,
    "c": 0.10768,
    "h": 100.2
  },
  "luminance": 0.80159
}

Semantic roles & 50–950 ramp

primary
#F7E993
secondary
#586AD6
accent
#22E303
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7E993

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

Preview Lab → · Contrast checker → · Palette generator →

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