#F2EFBF#F2EFBF

#F2EFBF is a very light, moderate yellow. Relative luminance 0.844; OKLCH L 94.3% C 0.062 H 104.6°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#F2EFBF
RGBrgb(242, 239, 191)
HSLhsl(56, 66%, 85%)
HSVhsv(56, 21%, 95%)
CMYKcmyk(0%, 1.2%, 21.1%, 5.1%)
CIE-LABlab(93.61, -6.58, 23.65)
CIE-LCHlch(93.61, 24.55, 105.56°)
OKLaboklab(94.26% -0.0157 0.0603)
OKLCHoklch(94.26% 0.062 104.6)
XYZxyz(76.8881, 84.3729, 61.5153)
Luminance0.8437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFBF #BFC2F2
analogous
#F2D6BF #F2EFBF #DBF2BF
triadic
#F2EFBF #BFF2EF #EFBFF2
tetradic
#F2EFBF #BFF2D6 #BFC2F2 #F2BFDB
square
#F2EFBF #BFF2D6 #BFC2F2 #F2BFDB
split-complementary
#F2EFBF #BFDBF2 #D6BFF2
monochromatic
#DDD659 #E8E28C #F2EFBF #FAF9E6 #FAF9E6

Accessibility & contrast

On white

1.17
#F2EFBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#F2EFBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFBF
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFBF#FFFFFF#000000##000000
##F2EFBF1.001.1717.8717.87
#FFFFFF1.171.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8EBBC
Deuteranopia (green-blind)
#F9EEC1
Tritanopia (blue-blind)
#FAE8E2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2efbf;
/* rgb */ color: rgb(242, 239, 191);
/* oklch */ color: oklch(94.3% 0.062 104.6);
Tailwind
colors: {
  custom: {
    50: '#f6f4d2',
    500: '#f2efbf',
    950: '#000000',
  },
}
SCSS
$custom: #f2efbf;
$custom-light: #f6f4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efbf",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 191
  },
  "hsl": {
    "h": 56.471,
    "s": 66.234,
    "l": 84.902
  },
  "oklch": {
    "l": 0.9426,
    "c": 0.06228,
    "h": 104.6
  },
  "luminance": 0.84372
}

Semantic roles & 50–950 ramp

primary
#F2EFBF
secondary
#8388D2
accent
#22CE17
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2EFBF

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

Preview Lab → · Contrast checker → · Palette generator →

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