#F4E7B1#F4E7B1

#F4E7B1 is a very light, moderate yellow. Relative luminance 0.796; OKLCH L 92.5% C 0.071 H 96.2°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#F4E7B1
RGBrgb(244, 231, 177)
HSLhsl(48, 75%, 83%)
HSVhsv(48, 27%, 96%)
CMYKcmyk(0%, 5.3%, 27.5%, 4.3%)
CIE-LABlab(91.49, -3.71, 27.94)
CIE-LCHlch(91.49, 28.19, 97.55°)
OKLaboklab(92.54% -0.0076 0.0706)
OKLCHoklch(92.54% 0.071 96.2)
XYZxyz(73.8204, 79.5609, 53.0545)
Luminance0.7956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E7B1 #B1BEF4
analogous
#F4C5B1 #F4E7B1 #E0F4B1
triadic
#F4E7B1 #B1F4E7 #E7B1F4
tetradic
#F4E7B1 #B1F4C5 #B1BEF4 #F4B1E0
square
#F4E7B1 #B1F4C5 #B1BEF4 #F4B1E0
split-complementary
#F4E7B1 #B1E0F4 #C5B1F4
monochromatic
#E5C646 #ECD67B #F4E7B1 #FBF7E4 #FBF7E4

Accessibility & contrast

On white

1.24
#F4E7B1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#F4E7B1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E7B1
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E7B1#FFFFFF#000000##000000
##F4E7B11.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E4AD
Deuteranopia (green-blind)
#F6E9B3
Tritanopia (blue-blind)
#FFDFD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f4e7b1;
/* rgb */ color: rgb(244, 231, 177);
/* oklch */ color: oklch(92.5% 0.071 96.2);
Tailwind
colors: {
  custom: {
    50: '#f8eec8',
    500: '#f4e7b1',
    950: '#000000',
  },
}
SCSS
$custom: #f4e7b1;
$custom-light: #f8eec8;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e7b1",
  "rgb": {
    "r": 244,
    "g": 231,
    "b": 177
  },
  "hsl": {
    "h": 48.358,
    "s": 75.281,
    "l": 82.549
  },
  "oklch": {
    "l": 0.92535,
    "c": 0.07097,
    "h": 96.2
  },
  "luminance": 0.79559
}

Semantic roles & 50–950 ramp

primary
#F4E7B1
secondary
#7587D4
accent
#35D70E
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F4E7B1

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

Preview Lab → · Contrast checker → · Palette generator →

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