#F2EFAA#F2EFAA

#F2EFAA is a very light, moderate yellow. Relative luminance 0.835; OKLCH L 93.8% C 0.088 H 105.9°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#F2EFAA
RGBrgb(242, 239, 170)
HSLhsl(58, 73%, 81%)
HSVhsv(58, 30%, 95%)
CMYKcmyk(0%, 1.2%, 29.8%, 5.1%)
CIE-LABlab(93.24, -9.35, 33.83)
CIE-LCHlch(93.24, 35.10, 105.45°)
OKLaboklab(93.84% -0.024 0.0845)
OKLCHoklch(93.84% 0.088 105.9)
XYZxyz(74.7406, 83.5139, 50.2050)
Luminance0.8351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFAA #AAADF2
analogous
#F2CBAA #F2EFAA #D1F2AA
triadic
#F2EFAA #AAF2EF #EFAAF2
tetradic
#F2EFAA #AAF2CB #AAADF2 #F2AAD1
square
#F2EFAA #AAF2CB #AAADF2 #F2AAD1
split-complementary
#F2EFAA #AAD1F2 #CBAAF2
monochromatic
#E2DB40 #EAE575 #F2EFAA #FAF9DF #FBFAE4

Accessibility & contrast

On white

1.19
#F2EFAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.70
#F2EFAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFAA
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFAA#FFFFFF#000000##000000
##F2EFAA1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEAA5
Deuteranopia (green-blind)
#FCEDAD
Tritanopia (blue-blind)
#FCE6DD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2efaa;
/* rgb */ color: rgb(242, 239, 170);
/* oklch */ color: oklch(93.8% 0.088 105.9);
Tailwind
colors: {
  custom: {
    50: '#f7f4c4',
    500: '#f2efaa',
    950: '#000000',
  },
}
SCSS
$custom: #f2efaa;
$custom-light: #f7f4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efaa",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 170
  },
  "hsl": {
    "h": 57.5,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.93842,
    "c": 0.08783,
    "h": 105.9
  },
  "luminance": 0.83513
}

Semantic roles & 50–950 ramp

primary
#F2EFAA
secondary
#6F73D1
accent
#18D610
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #F2EFAA

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

Preview Lab → · Contrast checker → · Palette generator →

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