#F2EABB#F2EABB

#F2EABB is a very light, moderate yellow. Relative luminance 0.813; OKLCH L 93.2% C 0.062 H 99.4°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F2EABB
RGBrgb(242, 234, 187)
HSLhsl(51, 68%, 84%)
HSVhsv(51, 23%, 95%)
CMYKcmyk(0%, 3.3%, 22.7%, 5.1%)
CIE-LABlab(92.27, -4.62, 23.85)
CIE-LCHlch(92.27, 24.30, 100.97°)
OKLaboklab(93.18% -0.0101 0.0608)
OKLCHoklch(93.18% 0.062 99.4)
XYZxyz(75.0103, 81.3120, 58.7474)
Luminance0.8131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EABB #BBC3F2
analogous
#F2CFBB #F2EABB #DFF2BB
triadic
#F2EABB #BBF2EA #EABBF2
tetradic
#F2EABB #BBF2CF #BBC3F2 #F2BBDF
square
#F2EABB #BBF2CF #BBC3F2 #F2BBDF
split-complementary
#F2EABB #BBDFF2 #CFBBF2
monochromatic
#DECA54 #E8DA88 #F2EABB #FAF7E5 #FAF7E5

Accessibility & contrast

On white

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

On black

17.26
#F2EABB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EABB
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EABB#FFFFFF#000000##000000
##F2EABB1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E7B8
Deuteranopia (green-blind)
#F6EABD
Tritanopia (blue-blind)
#FBE3DD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2eabb;
/* rgb */ color: rgb(242, 234, 187);
/* oklch */ color: oklch(93.2% 0.062 99.4);
Tailwind
colors: {
  custom: {
    50: '#f6f0cf',
    500: '#f2eabb',
    950: '#000000',
  },
}
SCSS
$custom: #f2eabb;
$custom-light: #f6f0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eabb",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 187
  },
  "hsl": {
    "h": 51.273,
    "s": 67.901,
    "l": 84.118
  },
  "oklch": {
    "l": 0.93175,
    "c": 0.06158,
    "h": 99.4
  },
  "luminance": 0.81311
}

Semantic roles & 50–950 ramp

primary
#F2EABB
secondary
#808BD2
accent
#31D016
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F2EABB

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

Preview Lab → · Contrast checker → · Palette generator →

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