#F2EDCA#F2EDCA

#F2EDCA is a very light, muted yellow. Relative luminance 0.837; OKLCH L 94.1% C 0.046 H 100.5°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#F2EDCA
RGBrgb(242, 237, 202)
HSLhsl(53, 61%, 87%)
HSVhsv(53, 17%, 95%)
CMYKcmyk(0%, 2.1%, 16.5%, 5.1%)
CIE-LABlab(93.32, -3.99, 17.59)
CIE-LCHlch(93.32, 18.04, 102.77°)
OKLaboklab(94.11% -0.0084 0.0453)
OKLCHoklch(94.11% 0.046 100.5)
XYZxyz(77.5621, 83.7108, 67.9375)
Luminance0.8371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDCA #CACFF2
analogous
#F2D9CA #F2EDCA #E3F2CA
triadic
#F2EDCA #CAF2ED #EDCAF2
tetradic
#F2EDCA #CAF2D9 #CACFF2 #F2CAE3
square
#F2EDCA #CAF2D9 #CACFF2 #F2CAE3
split-complementary
#F2EDCA #CAE3F2 #D9CAF2
monochromatic
#DACC68 #E6DC99 #F2EDCA #F9F7E6 #F9F7E6

Accessibility & contrast

On white

1.18
#F2EDCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.74
#F2EDCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDCA
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDCA#FFFFFF#000000##000000
##F2EDCA1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4EAC8
Deuteranopia (green-blind)
#F6EDCB
Tritanopia (blue-blind)
#F9E8E3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2edca;
/* rgb */ color: rgb(242, 237, 202);
/* oklch */ color: oklch(94.1% 0.046 100.5);
Tailwind
colors: {
  custom: {
    50: '#f6f2da',
    500: '#f2edca',
    950: '#000000',
  },
}
SCSS
$custom: #f2edca;
$custom-light: #f6f2da;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edca",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 202
  },
  "hsl": {
    "h": 52.5,
    "s": 60.606,
    "l": 87.059
  },
  "oklch": {
    "l": 0.94105,
    "c": 0.04611,
    "h": 100.5
  },
  "luminance": 0.8371
}

Semantic roles & 50–950 ramp

primary
#F2EDCA
secondary
#8F97D2
accent
#33C81D
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2EDCA

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

Preview Lab → · Contrast checker → · Palette generator →

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