#F7E96F#F7E96F

#F7E96F is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.2% C 0.143 H 102.8°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#F7E96F
RGBrgb(247, 233, 111)
HSLhsl(54, 89%, 70%)
HSVhsv(54, 55%, 97%)
CMYKcmyk(0%, 5.7%, 55.1%, 3.1%)
CIE-LABlab(91.33, -10.29, 59.99)
CIE-LCHlch(91.33, 60.87, 99.73°)
OKLaboklab(92.17% -0.0317 0.1398)
OKLCHoklch(92.17% 0.143 102.8)
XYZxyz(70.3682, 79.2022, 26.6167)
Luminance0.7920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E96F #6F7DF7
analogous
#F7A56F #F7E96F #C1F76F
triadic
#F7E96F #6FF7E9 #E96FF7
tetradic
#F7E96F #6FF7A5 #6F7DF7 #F76FC1
square
#F7E96F #6FF7A5 #6F7DF7 #F76FC1
split-complementary
#F7E96F #6FC1F7 #A56FF7
monochromatic
#DFCA0C #F4E035 #F7E96F #FAF2A9 #FDFBE2

Accessibility & contrast

On white

1.25
#F7E96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#F7E96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E96F
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E96F#FFFFFF#000000##000000
##F7E96F1.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE263
Deuteranopia (green-blind)
#FFE975
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e96f;
/* rgb */ color: rgb(247, 233, 111);
/* oklch */ color: oklch(92.2% 0.143 102.8);
Tailwind
colors: {
  custom: {
    50: '#fcef9c',
    500: '#f7e96f',
    950: '#000000',
  },
}
SCSS
$custom: #f7e96f;
$custom-light: #fcef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e96f",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 111
  },
  "hsl": {
    "h": 53.824,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92168,
    "c": 0.14333,
    "h": 102.8
  },
  "luminance": 0.792
}

Semantic roles & 50–950 ramp

primary
#F7E96F
secondary
#3948D1
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7E96F

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

Preview Lab → · Contrast checker → · Palette generator →

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