#F2ECA4#F2ECA4

#F2ECA4 is a very light, moderate yellow. Relative luminance 0.815; OKLCH L 93.1% C 0.091 H 104.0°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#F2ECA4
RGBrgb(242, 236, 164)
HSLhsl(55, 75%, 80%)
HSVhsv(55, 32%, 95%)
CMYKcmyk(0%, 2.5%, 32.2%, 5.1%)
CIE-LABlab(92.38, -8.59, 35.71)
CIE-LCHlch(92.38, 36.73, 103.52°)
OKLaboklab(93.13% -0.0221 0.0888)
OKLCHoklch(93.13% 0.091 104)
XYZxyz(73.3149, 81.5500, 46.9934)
Luminance0.8155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECA4 #A4AAF2
analogous
#F2C5A4 #F2ECA4 #D1F2A4
triadic
#F2ECA4 #A4F2EC #ECA4F2
tetradic
#F2ECA4 #A4F2C5 #A4AAF2 #F2A4D1
square
#F2ECA4 #A4F2C5 #A4AAF2 #F2A4D1
split-complementary
#F2ECA4 #A4D1F2 #C5A4F2
monochromatic
#E3D639 #EAE16E #F2ECA4 #FAF7DA #FBF9E4

Accessibility & contrast

On white

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

On black

17.31
#F2ECA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECA4
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECA4#FFFFFF#000000##000000
##F2ECA41.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E79F
Deuteranopia (green-blind)
#FBEBA7
Tritanopia (blue-blind)
#FDE3D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2eca4;
/* rgb */ color: rgb(242, 236, 164);
/* oklch */ color: oklch(93.1% 0.091 104.0);
Tailwind
colors: {
  custom: {
    50: '#f7f2bf',
    500: '#f2eca4',
    950: '#000000',
  },
}
SCSS
$custom: #f2eca4;
$custom-light: #f7f2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eca4",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 164
  },
  "hsl": {
    "h": 55.385,
    "s": 75,
    "l": 79.608
  },
  "oklch": {
    "l": 0.93126,
    "c": 0.09146,
    "h": 104
  },
  "luminance": 0.81548
}

Semantic roles & 50–950 ramp

primary
#F2ECA4
secondary
#6A72D0
accent
#1ED70E
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F2ECA4

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

Preview Lab → · Contrast checker → · Palette generator →

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