#F2ECAE#F2ECAE

#F2ECAE is a very light, moderate yellow. Relative luminance 0.819; OKLCH L 93.3% C 0.080 H 103.2°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#F2ECAE
RGBrgb(242, 236, 174)
HSLhsl(55, 72%, 82%)
HSVhsv(55, 28%, 95%)
CMYKcmyk(0%, 2.5%, 28.1%, 5.1%)
CIE-LABlab(92.54, -7.35, 30.87)
CIE-LCHlch(92.54, 31.74, 103.40°)
OKLaboklab(93.31% -0.0181 0.0775)
OKLCHoklch(93.31% 0.08 103.2)
XYZxyz(74.2537, 81.9255, 51.9378)
Luminance0.8192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECAE #AEB4F2
analogous
#F2CAAE #F2ECAE #D6F2AE
triadic
#F2ECAE #AEF2EC #ECAEF2
tetradic
#F2ECAE #AEF2CA #AEB4F2 #F2AED6
square
#F2ECAE #AEF2CA #AEB4F2 #F2AED6
split-complementary
#F2ECAE #AED6F2 #CAAEF2
monochromatic
#E1D345 #EAE079 #F2ECAE #FAF8E3 #FBF9E5

Accessibility & contrast

On white

1.21
#F2ECAE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#F2ECAE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECAE
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECAE#FFFFFF#000000##000000
##F2ECAE1.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E8AA
Deuteranopia (green-blind)
#F9EBB0
Tritanopia (blue-blind)
#FCE4DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ecae;
/* rgb */ color: rgb(242, 236, 174);
/* oklch */ color: oklch(93.3% 0.080 103.2);
Tailwind
colors: {
  custom: {
    50: '#f7f2c6',
    500: '#f2ecae',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecae;
$custom-light: #f7f2c6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecae",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 174
  },
  "hsl": {
    "h": 54.706,
    "s": 72.34,
    "l": 81.569
  },
  "oklch": {
    "l": 0.93312,
    "c": 0.07963,
    "h": 103.2
  },
  "luminance": 0.81924
}

Semantic roles & 50–950 ramp

primary
#F2ECAE
secondary
#737BD1
accent
#22D411
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F2ECAE

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

Preview Lab → · Contrast checker → · Palette generator →

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