#F2EDB2#F2EDB2

#F2EDB2 is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.6% C 0.076 H 103.7°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#F2EDB2
RGBrgb(242, 237, 178)
HSLhsl(55, 71%, 82%)
HSVhsv(55, 26%, 95%)
CMYKcmyk(0%, 2.1%, 26.4%, 5.1%)
CIE-LABlab(92.87, -7.34, 29.27)
CIE-LCHlch(92.87, 30.18, 104.07°)
OKLaboklab(93.59% -0.018 0.0738)
OKLCHoklch(93.59% 0.076 103.7)
XYZxyz(74.9382, 82.6613, 54.1184)
Luminance0.8266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDB2 #B2B7F2
analogous
#F2CDB2 #F2EDB2 #D7F2B2
triadic
#F2EDB2 #B2F2ED #EDB2F2
tetradic
#F2EDB2 #B2F2CD #B2B7F2 #F2B2D7
square
#F2EDB2 #B2F2CD #B2B7F2 #F2B2D7
split-complementary
#F2EDB2 #B2D7F2 #CDB2F2
monochromatic
#E0D549 #E9E17E #F2EDB2 #FBF9E5 #FBF9E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EDB2#FFFFFF#000000##000000
##F2EDB21.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)
#F8E9AE
Deuteranopia (green-blind)
#FAECB4
Tritanopia (blue-blind)
#FCE5DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2edb2;
/* rgb */ color: rgb(242, 237, 178);
/* oklch */ color: oklch(93.6% 0.076 103.7);
Tailwind
colors: {
  custom: {
    50: '#f7f2c9',
    500: '#f2edb2',
    950: '#000000',
  },
}
SCSS
$custom: #f2edb2;
$custom-light: #f7f2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edb2",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 178
  },
  "hsl": {
    "h": 55.313,
    "s": 71.111,
    "l": 82.353
  },
  "oklch": {
    "l": 0.93592,
    "c": 0.07594,
    "h": 103.7
  },
  "luminance": 0.8266
}

Semantic roles & 50–950 ramp

primary
#F2EDB2
secondary
#777ED1
accent
#21D312
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2EDB2

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

Preview Lab → · Contrast checker → · Palette generator →

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