#F7EF8E#F7EF8E

#F7EF8E is a very light, moderate yellow. Relative luminance 0.835; OKLCH L 93.8% C 0.119 H 104.3°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#F7EF8E
RGBrgb(247, 239, 142)
HSLhsl(55, 87%, 76%)
HSVhsv(55, 43%, 97%)
CMYKcmyk(0%, 3.2%, 42.5%, 3.1%)
CIE-LABlab(93.22, -10.56, 47.75)
CIE-LCHlch(93.22, 48.90, 102.47°)
OKLaboklab(93.78% -0.0295 0.1154)
OKLCHoklch(93.78% 0.119 104.3)
XYZxyz(74.1083, 83.4621, 37.7919)
Luminance0.8346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF8E #8E96F7
analogous
#F7BB8E #F7EF8E #CBF78E
triadic
#F7EF8E #8EF7EF #EF8EF7
tetradic
#F7EF8E #8EF7BB #8E96F7 #F78ECB
square
#F7EF8E #8EF7BB #8E96F7 #F78ECB
split-complementary
#F7EF8E #8ECBF7 #BB8EF7
monochromatic
#EFDF1C #F3E755 #F7EF8E #FBF7C7 #FDFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7EF8E#FFFFFF#000000##000000
##F7EF8E1.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)
#FEE986
Deuteranopia (green-blind)
#FFEE92
Tritanopia (blue-blind)
#FFE3D8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7ef8e;
/* rgb */ color: rgb(247, 239, 142);
/* oklch */ color: oklch(93.8% 0.119 104.3);
Tailwind
colors: {
  custom: {
    50: '#fbf4b0',
    500: '#f7ef8e',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef8e;
$custom-light: #fbf4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef8e",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 142
  },
  "hsl": {
    "h": 55.429,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93784,
    "c": 0.11913,
    "h": 104.3
  },
  "luminance": 0.8346
}

Semantic roles & 50–950 ramp

primary
#F7EF8E
secondary
#545ED5
accent
#13E302
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #F7EF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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