#F2EFBC#F2EFBC

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

Color values

HEX#F2EFBC
RGBrgb(242, 239, 188)
HSLhsl(57, 68%, 84%)
HSVhsv(57, 22%, 95%)
CMYKcmyk(0%, 1.2%, 22.3%, 5.1%)
CIE-LABlab(93.56, -7.00, 25.11)
CIE-LCHlch(93.56, 26.07, 105.58°)
OKLaboklab(94.2% -0.0169 0.0638)
OKLCHoklch(94.2% 0.066 104.8)
XYZxyz(76.5614, 84.2422, 59.7944)
Luminance0.8424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFBC #BCBFF2
analogous
#F2D4BC #F2EFBC #DAF2BC
triadic
#F2EFBC #BCF2EF #EFBCF2
tetradic
#F2EFBC #BCF2D4 #BCBFF2 #F2BCDA
square
#F2EFBC #BCF2D4 #BCBFF2 #F2BCDA
split-complementary
#F2EFBC #BCDAF2 #D4BCF2
monochromatic
#DED755 #E8E389 #F2EFBC #FAF9E5 #FAF9E5

Accessibility & contrast

On white

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

On black

17.85
#F2EFBC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFBC
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFBC#FFFFFF#000000##000000
##F2EFBC1.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8EBB9
Deuteranopia (green-blind)
#FAEEBE
Tritanopia (blue-blind)
#FAE8E1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2efbc;
/* rgb */ color: rgb(242, 239, 188);
/* oklch */ color: oklch(94.2% 0.066 104.8);
Tailwind
colors: {
  custom: {
    50: '#f6f4d0',
    500: '#f2efbc',
    950: '#000000',
  },
}
SCSS
$custom: #f2efbc;
$custom-light: #f6f4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efbc",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 188
  },
  "hsl": {
    "h": 56.667,
    "s": 67.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.94197,
    "c": 0.06602,
    "h": 104.8
  },
  "luminance": 0.84241
}

Semantic roles & 50–950 ramp

primary
#F2EFBC
secondary
#8185D2
accent
#20CF16
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2EFBC

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

Preview Lab → · Contrast checker → · Palette generator →

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