#F7EAAB#F7EAAB

#F7EAAB is a very light, moderate yellow. Relative luminance 0.816; OKLCH L 93.3% C 0.082 H 97.9°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#F7EAAB
RGBrgb(247, 234, 171)
HSLhsl(50, 83%, 82%)
HSVhsv(50, 31%, 97%)
CMYKcmyk(0%, 5.3%, 30.8%, 3.1%)
CIE-LABlab(92.38, -4.85, 32.25)
CIE-LCHlch(92.38, 32.61, 98.55°)
OKLaboklab(93.26% -0.0111 0.0807)
OKLCHoklch(93.26% 0.082 97.9)
XYZxyz(75.1320, 81.5619, 50.3054)
Luminance0.8156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EAAB #ABB8F7
analogous
#F7C4AB #F7EAAB #DEF7AB
triadic
#F7EAAB #ABF7EA #EAABF7
tetradic
#F7EAAB #ABF7C4 #ABB8F7 #F7ABDE
square
#F7EAAB #ABF7C4 #ABB8F7 #F7ABDE
split-complementary
#F7EAAB #ABDEF7 #C4ABF7
monochromatic
#ECCE3B #F2DC73 #F7EAAB #FCF8E3 #FCF8E3

Accessibility & contrast

On white

1.21
#F7EAAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#F7EAAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EAAB
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EAAB#FFFFFF#000000##000000
##F7EAAB1.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E6A7
Deuteranopia (green-blind)
#FAEBAD
Tritanopia (blue-blind)
#FFE1D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7eaab;
/* rgb */ color: rgb(247, 234, 171);
/* oklch */ color: oklch(93.3% 0.082 97.9);
Tailwind
colors: {
  custom: {
    50: '#faf0c4',
    500: '#f7eaab',
    950: '#000000',
  },
}
SCSS
$custom: #f7eaab;
$custom-light: #faf0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7eaab",
  "rgb": {
    "r": 247,
    "g": 234,
    "b": 171
  },
  "hsl": {
    "h": 49.737,
    "s": 82.609,
    "l": 81.961
  },
  "oklch": {
    "l": 0.93264,
    "c": 0.08151,
    "h": 97.9
  },
  "luminance": 0.8156
}

Semantic roles & 50–950 ramp

primary
#F7EAAB
secondary
#6E80D8
accent
#2CDF06
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F7EAAB

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

Preview Lab → · Contrast checker → · Palette generator →

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