#F7EFBF#F7EFBF

#F7EFBF is a very light, moderate yellow. Relative luminance 0.853; OKLCH L 94.7% C 0.063 H 99.6°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#F7EFBF
RGBrgb(247, 239, 191)
HSLhsl(51, 78%, 86%)
HSVhsv(51, 23%, 97%)
CMYKcmyk(0%, 3.2%, 22.7%, 3.1%)
CIE-LABlab(94.00, -4.76, 24.24)
CIE-LCHlch(94.00, 24.71, 101.12°)
OKLaboklab(94.66% -0.0104 0.0617)
OKLCHoklch(94.66% 0.063 99.6)
XYZxyz(78.6282, 85.2701, 61.5968)
Luminance0.8527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EFBF #BFC7F7
analogous
#F7D3BF #F7EFBF #E3F7BF
triadic
#F7EFBF #BFF7EF #EFBFF7
tetradic
#F7EFBF #BFF7D3 #BFC7F7 #F7BFE3
square
#F7EFBF #BFF7D3 #BFC7F7 #F7BFE3
split-complementary
#F7EFBF #BFE3F7 #D3BFF7
monochromatic
#E9D452 #F0E189 #F7EFBF #FCF8E4 #FCF8E4

Accessibility & contrast

On white

1.16
#F7EFBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.05
#F7EFBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EFBF
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EFBF#FFFFFF#000000##000000
##F7EFBF1.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9ECBC
Deuteranopia (green-blind)
#FBEFC1
Tritanopia (blue-blind)
#FFE8E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f7efbf;
/* rgb */ color: rgb(247, 239, 191);
/* oklch */ color: oklch(94.7% 0.063 99.6);
Tailwind
colors: {
  custom: {
    50: '#faf4d2',
    500: '#f7efbf',
    950: '#000000',
  },
}
SCSS
$custom: #f7efbf;
$custom-light: #faf4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7efbf",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 191
  },
  "hsl": {
    "h": 51.429,
    "s": 77.778,
    "l": 85.882
  },
  "oklch": {
    "l": 0.9466,
    "c": 0.06261,
    "h": 99.6
  },
  "luminance": 0.85269
}

Semantic roles & 50–950 ramp

primary
#F7EFBF
secondary
#818DDA
accent
#29DA0B
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F7EFBF

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

Preview Lab → · Contrast checker → · Palette generator →

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