#F7EFA7#F7EFA7

#F7EFA7 is a very light, moderate yellow. Relative luminance 0.843; OKLCH L 94.2% C 0.091 H 102.6°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#F7EFA7
RGBrgb(247, 239, 167)
HSLhsl(54, 83%, 81%)
HSVhsv(54, 32%, 97%)
CMYKcmyk(0%, 3.2%, 32.4%, 3.1%)
CIE-LABlab(93.58, -7.84, 35.87)
CIE-LCHlch(93.58, 36.71, 102.33°)
OKLaboklab(94.19% -0.0199 0.0892)
OKLCHoklch(94.19% 0.091 102.6)
XYZxyz(76.2001, 84.2989, 48.8090)
Luminance0.8430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EFA7 #A7AFF7
analogous
#F7C7A7 #F7EFA7 #D7F7A7
triadic
#F7EFA7 #A7F7EF #EFA7F7
tetradic
#F7EFA7 #A7F7C7 #A7AFF7 #F7A7D7
square
#F7EFA7 #A7F7C7 #A7AFF7 #F7A7D7
split-complementary
#F7EFA7 #A7D7F7 #C7A7F7
monochromatic
#EDDB37 #F2E56F #F7EFA7 #FCF9DF #FCFAE3

Accessibility & contrast

On white

1.18
#F7EFA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#F7EFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EFA7
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EFA7#FFFFFF#000000##000000
##F7EFA71.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEAA2
Deuteranopia (green-blind)
#FFEFAA
Tritanopia (blue-blind)
#FFE6DC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f7efa7;
/* rgb */ color: rgb(247, 239, 167);
/* oklch */ color: oklch(94.2% 0.091 102.6);
Tailwind
colors: {
  custom: {
    50: '#fbf4c1',
    500: '#f7efa7',
    950: '#000000',
  },
}
SCSS
$custom: #f7efa7;
$custom-light: #fbf4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7efa7",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 167
  },
  "hsl": {
    "h": 54,
    "s": 83.333,
    "l": 81.176
  },
  "oklch": {
    "l": 0.94191,
    "c": 0.09138,
    "h": 102.6
  },
  "luminance": 0.84297
}

Semantic roles & 50–950 ramp

primary
#F7EFA7
secondary
#6A75D8
accent
#1CE006
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #F7EFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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