#F2EEA2#F2EEA2

#F2EEA2 is a very light, moderate yellow. Relative luminance 0.826; OKLCH L 93.5% C 0.096 H 105.5°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#F2EEA2
RGBrgb(242, 238, 162)
HSLhsl(57, 75%, 79%)
HSVhsv(57, 33%, 95%)
CMYKcmyk(0%, 1.7%, 33.1%, 5.1%)
CIE-LABlab(92.86, -9.82, 37.35)
CIE-LCHlch(92.86, 38.62, 104.73°)
OKLaboklab(93.5% -0.0257 0.0925)
OKLCHoklch(93.5% 0.096 105.5)
XYZxyz(73.7148, 82.6364, 46.2427)
Luminance0.8264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EEA2 #A2A6F2
analogous
#F2C6A2 #F2EEA2 #CEF2A2
triadic
#F2EEA2 #A2F2EE #EEA2F2
tetradic
#F2EEA2 #A2F2C6 #A2A6F2 #F2A2CE
square
#F2EEA2 #A2F2C6 #A2A6F2 #F2A2CE
split-complementary
#F2EEA2 #A2CEF2 #C6A2F2
monochromatic
#E3DA37 #EAE46C #F2EEA2 #FAF8D8 #FBFAE4

Accessibility & contrast

On white

1.20
#F2EEA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#F2EEA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EEA2
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EEA2#FFFFFF#000000##000000
##F2EEA21.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE89D
Deuteranopia (green-blind)
#FDECA5
Tritanopia (blue-blind)
#FDE4DB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2eea2;
/* rgb */ color: rgb(242, 238, 162);
/* oklch */ color: oklch(93.5% 0.096 105.5);
Tailwind
colors: {
  custom: {
    50: '#f7f3be',
    500: '#f2eea2',
    950: '#000000',
  },
}
SCSS
$custom: #f2eea2;
$custom-light: #f7f3be;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eea2",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 162
  },
  "hsl": {
    "h": 57,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93496,
    "c": 0.09603,
    "h": 105.5
  },
  "luminance": 0.82635
}

Semantic roles & 50–950 ramp

primary
#F2EEA2
secondary
#686DD0
accent
#18D80E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #F2EEA2

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

Preview Lab → · Contrast checker → · Palette generator →

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