#F7F2BB#F7F2BB

#F7F2BB is a very light, moderate yellow. Relative luminance 0.869; OKLCH L 95.2% C 0.071 H 103.3°. Best body text is #000000 at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#F7F2BB
RGBrgb(247, 242, 187)
HSLhsl(55, 79%, 85%)
HSVhsv(55, 24%, 97%)
CMYKcmyk(0%, 2%, 24.3%, 3.1%)
CIE-LABlab(94.68, -6.81, 27.22)
CIE-LCHlch(94.68, 28.06, 104.04°)
OKLaboklab(95.18% -0.0163 0.069)
OKLCHoklch(95.18% 0.071 103.3)
XYZxyz(79.0796, 86.8676, 59.6053)
Luminance0.8687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F2BB #BBC0F7
analogous
#F7D4BB #F7F2BB #DEF7BB
triadic
#F7F2BB #BBF7F2 #F2BBF7
tetradic
#F7F2BB #BBF7D4 #BBC0F7 #F7BBDE
square
#F7F2BB #BBF7D4 #BBC0F7 #F7BBDE
split-complementary
#F7F2BB #BBDEF7 #D4BBF7
monochromatic
#EADD4D #F1E884 #F7F2BB #FCFAE4 #FCFAE4

Accessibility & contrast

On white

1.14
#F7F2BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.37
#F7F2BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F2BB
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F2BB#FFFFFF#000000##000000
##F7F2BB1.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEEB8
Deuteranopia (green-blind)
#FEF1BD
Tritanopia (blue-blind)
#FFEBE3
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f7f2bb;
/* rgb */ color: rgb(247, 242, 187);
/* oklch */ color: oklch(95.2% 0.071 103.3);
Tailwind
colors: {
  custom: {
    50: '#faf6cf',
    500: '#f7f2bb',
    950: '#000000',
  },
}
SCSS
$custom: #f7f2bb;
$custom-light: #faf6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f2bb",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 187
  },
  "hsl": {
    "h": 55,
    "s": 78.947,
    "l": 85.098
  },
  "oklch": {
    "l": 0.95175,
    "c": 0.07086,
    "h": 103.3
  },
  "luminance": 0.86866
}

Semantic roles & 50–950 ramp

primary
#F7F2BB
secondary
#7D84D9
accent
#1CDB0A
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F7F2BB

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

Preview Lab → · Contrast checker → · Palette generator →

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