#F5EAAC#F5EAAC

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

Color values

HEX#F5EAAC
RGBrgb(245, 234, 172)
HSLhsl(51, 78%, 82%)
HSVhsv(51, 30%, 96%)
CMYKcmyk(0%, 4.5%, 29.8%, 3.9%)
CIE-LABlab(92.24, -5.48, 31.52)
CIE-LCHlch(92.24, 31.99, 99.86°)
OKLaboklab(93.12% -0.0129 0.079)
OKLCHoklch(93.12% 0.08 99.3)
XYZxyz(74.5260, 81.2384, 50.7764)
Luminance0.8124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EAAC #ACB7F5
analogous
#F5C6AC #F5EAAC #DCF5AC
triadic
#F5EAAC #ACF5EA #EAACF5
tetradic
#F5EAAC #ACF5C6 #ACB7F5 #F5ACDC
square
#F5EAAC #ACF5C6 #ACB7F5 #F5ACDC
split-complementary
#F5EAAC #ACDCF5 #C6ACF5
monochromatic
#E8CE3F #EEDC75 #F5EAAC #FCF8E3 #FCF8E4

Accessibility & contrast

On white

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

On black

17.25
#F5EAAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EAAC
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EAAC#FFFFFF#000000##000000
##F5EAAC1.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E6A8
Deuteranopia (green-blind)
#F9EBAE
Tritanopia (blue-blind)
#FFE1DA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5eaac;
/* rgb */ color: rgb(245, 234, 172);
/* oklch */ color: oklch(93.1% 0.080 99.3);
Tailwind
colors: {
  custom: {
    50: '#f9f0c5',
    500: '#f5eaac',
    950: '#000000',
  },
}
SCSS
$custom: #f5eaac;
$custom-light: #f9f0c5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5eaac",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 172
  },
  "hsl": {
    "h": 50.959,
    "s": 78.495,
    "l": 81.765
  },
  "oklch": {
    "l": 0.93118,
    "c": 0.08008,
    "h": 99.3
  },
  "luminance": 0.81237
}

Semantic roles & 50–950 ramp

primary
#F5EAAC
secondary
#707FD5
accent
#2ADB0B
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F5EAAC

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

Preview Lab → · Contrast checker → · Palette generator →

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