#F2F2BD#F2F2BD

#F2F2BD is a very light, moderate yellow. Relative luminance 0.861; OKLCH L 94.8% C 0.068 H 107.6°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#F2F2BD
RGBrgb(242, 242, 189)
HSLhsl(60, 67%, 85%)
HSVhsv(60, 22%, 95%)
CMYKcmyk(0%, 0%, 21.9%, 5.1%)
CIE-LABlab(94.34, -8.36, 25.67)
CIE-LCHlch(94.34, 27.00, 108.04°)
OKLaboklab(94.82% -0.0207 0.0652)
OKLCHoklch(94.82% 0.068 107.6)
XYZxyz(77.5551, 86.0566, 60.6592)
Luminance0.8606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2BD #BDBDF2
analogous
#F2D8BD #F2F2BD #D8F2BD
triadic
#F2F2BD #BDF2F2 #F2BDF2
tetradic
#F2F2BD #BDF2D8 #BDBDF2 #F2BDD8
square
#F2F2BD #BDF2D8 #BDBDF2 #F2BDD8
split-complementary
#F2F2BD #BDD8F2 #D8BDF2
monochromatic
#DEDE57 #E8E88A #F2F2BD #FAFAE5 #FAFAE5

Accessibility & contrast

On white

1.15
#F2F2BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#F2F2BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2BD
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2BD#FFFFFF#000000##000000
##F2F2BD1.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEDBA
Deuteranopia (green-blind)
#FCF0BF
Tritanopia (blue-blind)
#FAEBE4
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f2bd;
/* rgb */ color: rgb(242, 242, 189);
/* oklch */ color: oklch(94.8% 0.068 107.6);
Tailwind
colors: {
  custom: {
    50: '#f6f6d1',
    500: '#f2f2bd',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2bd;
$custom-light: #f6f6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2bd",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 189
  },
  "hsl": {
    "h": 60,
    "s": 67.089,
    "l": 84.51
  },
  "oklch": {
    "l": 0.94821,
    "c": 0.06842,
    "h": 107.6
  },
  "luminance": 0.86056
}

Semantic roles & 50–950 ramp

primary
#F2F2BD
secondary
#8181D2
accent
#17CF17
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2F2BD

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

Preview Lab → · Contrast checker → · Palette generator →

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