#F2F2AA#F2F2AA

#F2F2AA is a very light, moderate yellow. Relative luminance 0.853; OKLCH L 94.5% C 0.091 H 108.0°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#F2F2AA
RGBrgb(242, 242, 170)
HSLhsl(60, 73%, 81%)
HSVhsv(60, 30%, 95%)
CMYKcmyk(0%, 0%, 29.8%, 5.1%)
CIE-LABlab(94.01, -10.84, 34.85)
CIE-LCHlch(94.01, 36.50, 107.28°)
OKLaboklab(94.45% -0.0283 0.0869)
OKLCHoklch(94.45% 0.091 108)
XYZxyz(75.6262, 85.2850, 50.5001)
Luminance0.8528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2AA #AAAAF2
analogous
#F2CEAA #F2F2AA #CEF2AA
triadic
#F2F2AA #AAF2F2 #F2AAF2
tetradic
#F2F2AA #AAF2CE #AAAAF2 #F2AACE
square
#F2F2AA #AAF2CE #AAAAF2 #F2AACE
split-complementary
#F2F2AA #AACEF2 #CEAAF2
monochromatic
#E2E240 #EAEA75 #F2F2AA #FAFADF #FBFBE4

Accessibility & contrast

On white

1.16
#F2F2AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#F2F2AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2AA
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2AA#FFFFFF#000000##000000
##F2F2AA1.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEECA5
Deuteranopia (green-blind)
#FFEFAD
Tritanopia (blue-blind)
#FCE9DF
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f2aa;
/* rgb */ color: rgb(242, 242, 170);
/* oklch */ color: oklch(94.5% 0.091 108.0);
Tailwind
colors: {
  custom: {
    50: '#f7f6c4',
    500: '#f2f2aa',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2aa;
$custom-light: #f7f6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2aa",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 170
  },
  "hsl": {
    "h": 60,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.9445,
    "c": 0.09138,
    "h": 108
  },
  "luminance": 0.85284
}

Semantic roles & 50–950 ramp

primary
#F2F2AA
secondary
#6F6FD1
accent
#10D610
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #F2F2AA

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

Preview Lab → · Contrast checker → · Palette generator →

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