#F0DFAA#F0DFAA

#F0DFAA is a very light, moderate yellow. Relative luminance 0.742; OKLCH L 90.5% C 0.071 H 92.4°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#F0DFAA
RGBrgb(240, 223, 170)
HSLhsl(45, 70%, 80%)
HSVhsv(45, 29%, 94%)
CMYKcmyk(0%, 7.1%, 29.2%, 5.9%)
CIE-LABlab(89.02, -2.04, 28.14)
CIE-LCHlch(89.02, 28.21, 94.15°)
OKLaboklab(90.47% -0.003 0.0709)
OKLCHoklch(90.47% 0.071 92.4)
XYZxyz(69.5792, 74.2047, 48.6801)
Luminance0.7420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DFAA #AABBF0
analogous
#F0BCAA #F0DFAA #DEF0AA
triadic
#F0DFAA #AAF0DF #DFAAF0
tetradic
#F0DFAA #AAF0BC #AABBF0 #F0AADE
square
#F0DFAA #AAF0BC #AABBF0 #F0AADE
split-complementary
#F0DFAA #AADEF0 #BCAAF0
monochromatic
#DEB842 #E7CB76 #F0DFAA #F9F3DE #FAF5E5

Accessibility & contrast

On white

1.33
#F0DFAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#F0DFAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DFAA
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DFAA#FFFFFF#000000##000000
##F0DFAA1.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDDA7
Deuteranopia (green-blind)
#EFE2AC
Tritanopia (blue-blind)
#FBD7D1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f0dfaa;
/* rgb */ color: rgb(240, 223, 170);
/* oklch */ color: oklch(90.5% 0.071 92.4);
Tailwind
colors: {
  custom: {
    50: '#f5e8c3',
    500: '#f0dfaa',
    950: '#000000',
  },
}
SCSS
$custom: #f0dfaa;
$custom-light: #f5e8c3;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dfaa",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 170
  },
  "hsl": {
    "h": 45.429,
    "s": 70,
    "l": 80.392
  },
  "oklch": {
    "l": 0.90467,
    "c": 0.07098,
    "h": 92.4
  },
  "luminance": 0.74203
}

Semantic roles & 50–950 ramp

primary
#F0DFAA
secondary
#7087CE
accent
#42D214
background
#FFFEFD
surface
#FEFCF9
border
#D6D5D2
text
#171612
muted
#858482

Preview Lab

Preview with #F0DFAA

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

Preview Lab → · Contrast checker → · Palette generator →

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