#FDF7BE#FDF7BE

#FDF7BE is a very light, moderate yellow. Relative luminance 0.911; OKLCH L 96.7% C 0.073 H 102.6°. Best body text is #000000 at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#FDF7BE
RGBrgb(253, 247, 190)
HSLhsl(54, 94%, 87%)
HSVhsv(54, 25%, 99%)
CMYKcmyk(0%, 2.4%, 24.9%, 0.8%)
CIE-LABlab(96.46, -6.71, 28.20)
CIE-LCHlch(96.46, 28.99, 103.38°)
OKLaboklab(96.71% -0.016 0.0714)
OKLCHoklch(96.71% 0.073 102.6)
XYZxyz(83.0631, 91.1233, 61.9181)
Luminance0.9112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7BE #BEC4FD
analogous
#FDD8BE #FDF7BE #E4FDBE
triadic
#FDF7BE #BEFDF7 #F7BEFD
tetradic
#FDF7BE #BEFDD8 #BEC4FD #FDBEE4
square
#FDF7BE #BEFDD8 #BEC4FD #FDBEE4
split-complementary
#FDF7BE #BEE4FD #D8BEFD
monochromatic
#F9E847 #FBF083 #FDF7BE #FEFBE1 #FEFBE1

Accessibility & contrast

On white

1.09
#FDF7BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.22
#FDF7BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF7BE
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF7BE#FFFFFF#000000##000000
##FDF7BE1.001.0919.2219.22
#FFFFFF1.091.0021.0021.00
#00000019.2221.001.001.00
##00000019.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3BA
Deuteranopia (green-blind)
#FFF6C0
Tritanopia (blue-blind)
#FFEFE8
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fdf7be;
/* rgb */ color: rgb(253, 247, 190);
/* oklch */ color: oklch(96.7% 0.073 102.6);
Tailwind
colors: {
  custom: {
    50: '#fef9d2',
    500: '#fdf7be',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7be;
$custom-light: #fef9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7be",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 190
  },
  "hsl": {
    "h": 54.286,
    "s": 94.03,
    "l": 86.863
  },
  "oklch": {
    "l": 0.96713,
    "c": 0.07313,
    "h": 102.6
  },
  "luminance": 0.91122
}

Semantic roles & 50–950 ramp

primary
#FDF7BE
secondary
#7B85E4
accent
#16E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FDF7BE

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

Preview Lab → · Contrast checker → · Palette generator →

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