#F7EFA5#F7EFA5

#F7EFA5 is a very light, moderate yellow. Relative luminance 0.842; OKLCH L 94.2% C 0.094 H 102.8°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#F7EFA5
RGBrgb(247, 239, 165)
HSLhsl(54, 84%, 81%)
HSVhsv(54, 33%, 97%)
CMYKcmyk(0%, 3.2%, 33.2%, 3.1%)
CIE-LABlab(93.55, -8.07, 36.83)
CIE-LCHlch(93.55, 37.70, 102.37°)
OKLaboklab(94.16% -0.0207 0.0914)
OKLCHoklch(94.16% 0.094 102.8)
XYZxyz(76.0166, 84.2255, 47.8428)
Luminance0.8422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EFA5 #A5ADF7
analogous
#F7C6A5 #F7EFA5 #D6F7A5
triadic
#F7EFA5 #A5F7EF #EFA5F7
tetradic
#F7EFA5 #A5F7C6 #A5ADF7 #F7A5D6
square
#F7EFA5 #A5F7C6 #A5ADF7 #F7A5D6
split-complementary
#F7EFA5 #A5D6F7 #C6A5F7
monochromatic
#EDDB35 #F2E56D #F7EFA5 #FCF9DD #FDFAE3

Accessibility & contrast

On white

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

On black

17.84
#F7EFA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EFA5
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EFA5#FFFFFF#000000##000000
##F7EFA51.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEAA0
Deuteranopia (green-blind)
#FFEEA8
Tritanopia (blue-blind)
#FFE5DC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7efa5;
/* rgb */ color: rgb(247, 239, 165);
/* oklch */ color: oklch(94.2% 0.094 102.8);
Tailwind
colors: {
  custom: {
    50: '#fbf4c0',
    500: '#f7efa5',
    950: '#000000',
  },
}
SCSS
$custom: #f7efa5;
$custom-light: #fbf4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7efa5",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 165
  },
  "hsl": {
    "h": 54.146,
    "s": 83.673,
    "l": 80.784
  },
  "oklch": {
    "l": 0.94156,
    "c": 0.09369,
    "h": 102.8
  },
  "luminance": 0.84224
}

Semantic roles & 50–950 ramp

primary
#F7EFA5
secondary
#6973D8
accent
#1BE005
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #F7EFA5

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

Preview Lab → · Contrast checker → · Palette generator →

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