#F7EF8D#F7EF8D

#F7EF8D is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.8% C 0.120 H 104.4°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#F7EF8D
RGBrgb(247, 239, 141)
HSLhsl(55, 87%, 76%)
HSVhsv(55, 43%, 97%)
CMYKcmyk(0%, 3.2%, 42.9%, 3.1%)
CIE-LABlab(93.20, -10.66, 48.22)
CIE-LCHlch(93.20, 49.38, 102.47°)
OKLaboklab(93.77% -0.0298 0.1164)
OKLCHoklch(93.77% 0.12 104.4)
XYZxyz(74.0335, 83.4322, 37.3983)
Luminance0.8343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF8D #8D95F7
analogous
#F7BA8D #F7EF8D #CAF78D
triadic
#F7EF8D #8DF7EF #EF8DF7
tetradic
#F7EF8D #8DF7BA #8D95F7 #F78DCA
square
#F7EF8D #8DF7BA #8D95F7 #F78DCA
split-complementary
#F7EF8D #8DCAF7 #BA8DF7
monochromatic
#EFDF1B #F3E754 #F7EF8D #FBF7C6 #FDFBE2

Accessibility & contrast

On white

1.19
#F7EF8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.69
#F7EF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF8D
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF8D#FFFFFF#000000##000000
##F7EF8D1.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE985
Deuteranopia (green-blind)
#FFEE91
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7ef8d;
/* rgb */ color: rgb(247, 239, 141);
/* oklch */ color: oklch(93.8% 0.120 104.4);
Tailwind
colors: {
  custom: {
    50: '#fbf4b0',
    500: '#f7ef8d',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef8d;
$custom-light: #fbf4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef8d",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 141
  },
  "hsl": {
    "h": 55.472,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.9377,
    "c": 0.12018,
    "h": 104.4
  },
  "luminance": 0.8343
}

Semantic roles & 50–950 ramp

primary
#F7EF8D
secondary
#535DD5
accent
#13E302
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #F7EF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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