#F7ED96#F7ED96

#F7ED96 is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.5% C 0.108 H 102.6°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F7ED96
RGBrgb(247, 237, 150)
HSLhsl(54, 86%, 78%)
HSVhsv(54, 39%, 97%)
CMYKcmyk(0%, 4%, 39.3%, 3.1%)
CIE-LABlab(92.82, -8.75, 43.34)
CIE-LCHlch(92.82, 44.21, 101.42°)
OKLaboklab(93.5% -0.0236 0.1058)
OKLCHoklch(93.5% 0.108 102.6)
XYZxyz(74.1483, 82.5465, 40.8754)
Luminance0.8255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ED96 #96A0F7
analogous
#F7BC96 #F7ED96 #D1F796
triadic
#F7ED96 #96F7ED #ED96F7
tetradic
#F7ED96 #96F7BC #96A0F7 #F796D1
square
#F7ED96 #96F7BC #96A0F7 #F796D1
split-complementary
#F7ED96 #96D1F7 #BC96F7
monochromatic
#EEDA24 #F3E35D #F7ED96 #FBF7CF #FDFAE3

Accessibility & contrast

On white

1.20
#F7ED96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#F7ED96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ED96
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ED96#FFFFFF#000000##000000
##F7ED961.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE78F
Deuteranopia (green-blind)
#FFED9A
Tritanopia (blue-blind)
#FFE2D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f7ed96;
/* rgb */ color: rgb(247, 237, 150);
/* oklch */ color: oklch(93.5% 0.108 102.6);
Tailwind
colors: {
  custom: {
    50: '#fbf2b6',
    500: '#f7ed96',
    950: '#000000',
  },
}
SCSS
$custom: #f7ed96;
$custom-light: #fbf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ed96",
  "rgb": {
    "r": 247,
    "g": 237,
    "b": 150
  },
  "hsl": {
    "h": 53.814,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93502,
    "c": 0.10845,
    "h": 102.6
  },
  "luminance": 0.82545
}

Semantic roles & 50–950 ramp

primary
#F7ED96
secondary
#5B68D6
accent
#1AE203
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7ED96

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

Preview Lab → · Contrast checker → · Palette generator →

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