#F7EFAB#F7EFAB

#F7EFAB is a very light, moderate yellow. Relative luminance 0.844; OKLCH L 94.3% C 0.087 H 102.2°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#F7EFAB
RGBrgb(247, 239, 171)
HSLhsl(54, 83%, 82%)
HSVhsv(54, 31%, 97%)
CMYKcmyk(0%, 3.2%, 30.8%, 3.1%)
CIE-LABlab(93.65, -7.36, 33.94)
CIE-LCHlch(93.65, 34.73, 102.23°)
OKLaboklab(94.26% -0.0184 0.0847)
OKLCHoklch(94.26% 0.087 102.2)
XYZxyz(76.5756, 84.4491, 50.7866)
Luminance0.8445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EFAB #ABB3F7
analogous
#F7C9AB #F7EFAB #D9F7AB
triadic
#F7EFAB #ABF7EF #EFABF7
tetradic
#F7EFAB #ABF7C9 #ABB3F7 #F7ABD9
square
#F7EFAB #ABF7C9 #ABB3F7 #F7ABD9
split-complementary
#F7EFAB #ABD9F7 #C9ABF7
monochromatic
#ECDA3B #F2E473 #F7EFAB #FCFAE3 #FCFAE3

Accessibility & contrast

On white

1.17
#F7EFAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.89
#F7EFAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EFAB
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EFAB#FFFFFF#000000##000000
##F7EFAB1.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEAA6
Deuteranopia (green-blind)
#FEEFAE
Tritanopia (blue-blind)
#FFE6DD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7efab;
/* rgb */ color: rgb(247, 239, 171);
/* oklch */ color: oklch(94.3% 0.087 102.2);
Tailwind
colors: {
  custom: {
    50: '#faf4c4',
    500: '#f7efab',
    950: '#000000',
  },
}
SCSS
$custom: #f7efab;
$custom-light: #faf4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7efab",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 171
  },
  "hsl": {
    "h": 53.684,
    "s": 82.609,
    "l": 81.961
  },
  "oklch": {
    "l": 0.94264,
    "c": 0.08671,
    "h": 102.2
  },
  "luminance": 0.84447
}

Semantic roles & 50–950 ramp

primary
#F7EFAB
secondary
#6E79D8
accent
#1DDF06
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #F7EFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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