#F5E698#F5E698

#F5E698 is a very light, moderate yellow. Relative luminance 0.783; OKLCH L 92.0% C 0.099 H 98.6°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#F5E698
RGBrgb(245, 230, 152)
HSLhsl(50, 82%, 78%)
HSVhsv(50, 38%, 96%)
CMYKcmyk(0%, 6.1%, 38%, 3.9%)
CIE-LABlab(90.91, -5.80, 39.85)
CIE-LCHlch(90.91, 40.27, 98.29°)
OKLaboklab(91.96% -0.0149 0.098)
OKLCHoklch(91.96% 0.099 98.6)
XYZxyz(71.6218, 78.2752, 41.0355)
Luminance0.7827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E698 #98A7F5
analogous
#F5B898 #F5E698 #D5F598
triadic
#F5E698 #98F5E6 #E698F5
tetradic
#F5E698 #98F5B8 #98A7F5 #F598D5
square
#F5E698 #98F5B8 #98A7F5 #F598D5
split-complementary
#F5E698 #98D5F5 #B898F5
monochromatic
#EACB28 #F0D860 #F5E698 #FAF4D0 #FCF8E3

Accessibility & contrast

On white

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

On black

16.65
#F5E698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E698
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E698#FFFFFF#000000##000000
##F5E6981.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e698;
/* rgb */ color: rgb(245, 230, 152);
/* oklch */ color: oklch(92.0% 0.099 98.6);
Tailwind
colors: {
  custom: {
    50: '#faedb7',
    500: '#f5e698',
    950: '#000000',
  },
}
SCSS
$custom: #f5e698;
$custom-light: #faedb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e698",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 152
  },
  "hsl": {
    "h": 50.323,
    "s": 82.301,
    "l": 77.843
  },
  "oklch": {
    "l": 0.9196,
    "c": 0.09909,
    "h": 98.6
  },
  "luminance": 0.78273
}

Semantic roles & 50–950 ramp

primary
#F5E698
secondary
#5E71D4
accent
#2ADF07
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F5E698

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

Preview Lab → · Contrast checker → · Palette generator →

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