#F2EFBA#F2EFBA

#F2EFBA is a very light, moderate yellow. Relative luminance 0.842; OKLCH L 94.2% C 0.068 H 104.9°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#F2EFBA
RGBrgb(242, 239, 186)
HSLhsl(57, 68%, 84%)
HSVhsv(57, 23%, 95%)
CMYKcmyk(0%, 1.2%, 23.1%, 5.1%)
CIE-LABlab(93.52, -7.27, 26.08)
CIE-LCHlch(93.52, 27.08, 105.58°)
OKLaboklab(94.16% -0.0177 0.0662)
OKLCHoklch(94.16% 0.068 104.9)
XYZxyz(76.3473, 84.1565, 58.6668)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFBA #BABDF2
analogous
#F2D3BA #F2EFBA #D9F2BA
triadic
#F2EFBA #BAF2EF #EFBAF2
tetradic
#F2EFBA #BAF2D3 #BABDF2 #F2BAD9
square
#F2EFBA #BAF2D3 #BABDF2 #F2BAD9
split-complementary
#F2EFBA #BAD9F2 #D3BAF2
monochromatic
#DFD753 #E8E387 #F2EFBA #FAF9E5 #FAF9E5

Accessibility & contrast

On white

1.18
#F2EFBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.83
#F2EFBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFBA
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFBA#FFFFFF#000000##000000
##F2EFBA1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9EBB7
Deuteranopia (green-blind)
#FAEEBC
Tritanopia (blue-blind)
#FBE8E1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2efba;
/* rgb */ color: rgb(242, 239, 186);
/* oklch */ color: oklch(94.2% 0.068 104.9);
Tailwind
colors: {
  custom: {
    50: '#f7f4cf',
    500: '#f2efba',
    950: '#000000',
  },
}
SCSS
$custom: #f2efba;
$custom-light: #f7f4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efba",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 186
  },
  "hsl": {
    "h": 56.786,
    "s": 68.293,
    "l": 83.922
  },
  "oklch": {
    "l": 0.94155,
    "c": 0.06849,
    "h": 104.9
  },
  "luminance": 0.84155
}

Semantic roles & 50–950 ramp

primary
#F2EFBA
secondary
#7F83D2
accent
#1FD015
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171713
muted
#858583

Preview Lab

Preview with #F2EFBA

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

Preview Lab → · Contrast checker → · Palette generator →

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