#F7E698#F7E698

#F7E698 is a very light, moderate yellow. Relative luminance 0.786; OKLCH L 92.1% C 0.099 H 97.4°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#F7E698
RGBrgb(247, 230, 152)
HSLhsl(49, 86%, 78%)
HSVhsv(49, 38%, 97%)
CMYKcmyk(0%, 6.9%, 38.5%, 3.1%)
CIE-LABlab(91.07, -5.03, 40.10)
CIE-LCHlch(91.07, 40.41, 97.15°)
OKLaboklab(92.13% -0.0127 0.0985)
OKLCHoklch(92.13% 0.099 97.4)
XYZxyz(72.3235, 78.6370, 41.0684)
Luminance0.7863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E698 #98A9F7
analogous
#F7B698 #F7E698 #D8F798
triadic
#F7E698 #98F7E6 #E698F7
tetradic
#F7E698 #98F7B6 #98A9F7 #F798D8
square
#F7E698 #98F7B6 #98A9F7 #F798D8
split-complementary
#F7E698 #98D8F7 #B698F7
monochromatic
#EECA26 #F3D85F #F7E698 #FBF4D1 #FDF8E3

Accessibility & contrast

On white

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

On black

16.73
#F7E698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E698
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E698#FFFFFF#000000##000000
##F7E6981.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E292
Deuteranopia (green-blind)
#F9E89B
Tritanopia (blue-blind)
#FFDBD2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e698;
/* rgb */ color: rgb(247, 230, 152);
/* oklch */ color: oklch(92.1% 0.099 97.4);
Tailwind
colors: {
  custom: {
    50: '#fbedb7',
    500: '#f7e698',
    950: '#000000',
  },
}
SCSS
$custom: #f7e698;
$custom-light: #fbedb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e698",
  "rgb": {
    "r": 247,
    "g": 230,
    "b": 152
  },
  "hsl": {
    "h": 49.263,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.92129,
    "c": 0.09933,
    "h": 97.4
  },
  "luminance": 0.78635
}

Semantic roles & 50–950 ramp

primary
#F7E698
secondary
#5D73D6
accent
#2BE203
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #F7E698

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

Preview Lab → · Contrast checker → · Palette generator →

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