#F2EDA6#F2EDA6

#F2EDA6 is a very light, moderate yellow. Relative luminance 0.822; OKLCH L 93.4% C 0.090 H 104.6°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#F2EDA6
RGBrgb(242, 237, 166)
HSLhsl(56, 75%, 80%)
HSVhsv(56, 31%, 95%)
CMYKcmyk(0%, 2.1%, 31.4%, 5.1%)
CIE-LABlab(92.66, -8.85, 35.08)
CIE-LCHlch(92.66, 36.18, 104.15°)
OKLaboklab(93.37% -0.0227 0.0873)
OKLCHoklch(93.37% 0.09 104.6)
XYZxyz(73.7857, 82.2003, 48.0483)
Luminance0.8220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDA6 #A6ABF2
analogous
#F2C7A6 #F2EDA6 #D1F2A6
triadic
#F2EDA6 #A6F2ED #EDA6F2
tetradic
#F2EDA6 #A6F2C7 #A6ABF2 #F2A6D1
square
#F2EDA6 #A6F2C7 #A6ABF2 #F2A6D1
split-complementary
#F2EDA6 #A6D1F2 #C7A6F2
monochromatic
#E2D73B #EAE271 #F2EDA6 #FAF8DB #FBFAE4

Accessibility & contrast

On white

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

On black

17.44
#F2EDA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDA6
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDA6#FFFFFF#000000##000000
##F2EDA61.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2eda6;
/* rgb */ color: rgb(242, 237, 166);
/* oklch */ color: oklch(93.4% 0.090 104.6);
Tailwind
colors: {
  custom: {
    50: '#f7f2c1',
    500: '#f2eda6',
    950: '#000000',
  },
}
SCSS
$custom: #f2eda6;
$custom-light: #f7f2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eda6",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 166
  },
  "hsl": {
    "h": 56.053,
    "s": 74.51,
    "l": 80
  },
  "oklch": {
    "l": 0.93365,
    "c": 0.09025,
    "h": 104.6
  },
  "luminance": 0.82199
}

Semantic roles & 50–950 ramp

primary
#F2EDA6
secondary
#6C72D1
accent
#1CD70F
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #F2EDA6

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

Preview Lab → · Contrast checker → · Palette generator →

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