#F5EAAB#F5EAAB

#F5EAAB is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 93.1% C 0.081 H 99.4°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F5EAAB
RGBrgb(245, 234, 171)
HSLhsl(51, 79%, 82%)
HSVhsv(51, 30%, 96%)
CMYKcmyk(0%, 4.5%, 30.2%, 3.9%)
CIE-LABlab(92.22, -5.60, 32.01)
CIE-LCHlch(92.22, 32.49, 99.93°)
OKLaboklab(93.1% -0.0133 0.0802)
OKLCHoklch(93.1% 0.081 99.4)
XYZxyz(74.4303, 81.2001, 50.2725)
Luminance0.8120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EAAB #ABB6F5
analogous
#F5C5AB #F5EAAB #DBF5AB
triadic
#F5EAAB #ABF5EA #EAABF5
tetradic
#F5EAAB #ABF5C5 #ABB6F5 #F5ABDB
square
#F5EAAB #ABF5C5 #ABB6F5 #F5ABDB
split-complementary
#F5EAAB #ABDBF5 #C5ABF5
monochromatic
#E8CF3E #EEDC74 #F5EAAB #FCF8E2 #FCF8E4

Accessibility & contrast

On white

1.22
#F5EAAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#F5EAAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EAAB
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EAAB#FFFFFF#000000##000000
##F5EAAB1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5eaab;
/* rgb */ color: rgb(245, 234, 171);
/* oklch */ color: oklch(93.1% 0.081 99.4);
Tailwind
colors: {
  custom: {
    50: '#f9f0c4',
    500: '#f5eaab',
    950: '#000000',
  },
}
SCSS
$custom: #f5eaab;
$custom-light: #f9f0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5eaab",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 171
  },
  "hsl": {
    "h": 51.081,
    "s": 78.723,
    "l": 81.569
  },
  "oklch": {
    "l": 0.93099,
    "c": 0.08126,
    "h": 99.4
  },
  "luminance": 0.81198
}

Semantic roles & 50–950 ramp

primary
#F5EAAB
secondary
#6F7ED5
accent
#29DB0A
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F5EAAB

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

Preview Lab → · Contrast checker → · Palette generator →

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