#F5EAAF#F5EAAF

#F5EAAF is a very light, moderate yellow. Relative luminance 0.814; OKLCH L 93.2% C 0.077 H 98.8°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#F5EAAF
RGBrgb(245, 234, 175)
HSLhsl(51, 78%, 82%)
HSVhsv(51, 29%, 96%)
CMYKcmyk(0%, 4.5%, 28.6%, 3.9%)
CIE-LABlab(92.29, -5.10, 30.06)
CIE-LCHlch(92.29, 30.49, 99.63°)
OKLaboklab(93.18% -0.0117 0.0756)
OKLCHoklch(93.18% 0.077 98.8)
XYZxyz(74.8174, 81.3549, 52.3110)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EAAF #AFBAF5
analogous
#F5C7AF #F5EAAF #DDF5AF
triadic
#F5EAAF #AFF5EA #EAAFF5
tetradic
#F5EAAF #AFF5C7 #AFBAF5 #F5AFDD
square
#F5EAAF #AFF5C7 #AFBAF5 #F5AFDD
split-complementary
#F5EAAF #AFDDF5 #C7AFF5
monochromatic
#E7CD42 #EEDC79 #F5EAAF #FCF8E4 #FCF8E4

Accessibility & contrast

On white

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

On black

17.27
#F5EAAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EAAF
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EAAF#FFFFFF#000000##000000
##F5EAAF1.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E6AB
Deuteranopia (green-blind)
#F9EBB1
Tritanopia (blue-blind)
#FFE2DA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f5eaaf;
/* rgb */ color: rgb(245, 234, 175);
/* oklch */ color: oklch(93.2% 0.077 98.8);
Tailwind
colors: {
  custom: {
    50: '#f9f0c7',
    500: '#f5eaaf',
    950: '#000000',
  },
}
SCSS
$custom: #f5eaaf;
$custom-light: #f9f0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5eaaf",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 175
  },
  "hsl": {
    "h": 50.571,
    "s": 77.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.93176,
    "c": 0.07652,
    "h": 98.8
  },
  "luminance": 0.81353
}

Semantic roles & 50–950 ramp

primary
#F5EAAF
secondary
#7382D6
accent
#2CDA0B
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F5EAAF

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

Preview Lab → · Contrast checker → · Palette generator →

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