#F2ECA3#F2ECA3

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

Color values

HEX#F2ECA3
RGBrgb(242, 236, 163)
HSLhsl(55, 75%, 79%)
HSVhsv(55, 33%, 95%)
CMYKcmyk(0%, 2.5%, 32.6%, 5.1%)
CIE-LABlab(92.36, -8.70, 36.19)
CIE-LCHlch(92.36, 37.23, 103.52°)
OKLaboklab(93.11% -0.0225 0.0899)
OKLCHoklch(93.11% 0.093 104)
XYZxyz(73.2250, 81.5140, 46.5196)
Luminance0.8151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECA3 #A3A9F2
analogous
#F2C5A3 #F2ECA3 #D1F2A3
triadic
#F2ECA3 #A3F2EC #ECA3F2
tetradic
#F2ECA3 #A3F2C5 #A3A9F2 #F2A3D1
square
#F2ECA3 #A3F2C5 #A3A9F2 #F2A3D1
split-complementary
#F2ECA3 #A3D1F2 #C5A3F2
monochromatic
#E3D638 #EAE16D #F2ECA3 #FAF7D9 #FBF9E4

Accessibility & contrast

On white

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

On black

17.30
#F2ECA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECA3
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECA3#FFFFFF#000000##000000
##F2ECA31.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2eca3;
/* rgb */ color: rgb(242, 236, 163);
/* oklch */ color: oklch(93.1% 0.093 104.0);
Tailwind
colors: {
  custom: {
    50: '#f7f2bf',
    500: '#f2eca3',
    950: '#000000',
  },
}
SCSS
$custom: #f2eca3;
$custom-light: #f7f2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eca3",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 163
  },
  "hsl": {
    "h": 55.443,
    "s": 75.238,
    "l": 79.412
  },
  "oklch": {
    "l": 0.93109,
    "c": 0.09262,
    "h": 104
  },
  "luminance": 0.81512
}

Semantic roles & 50–950 ramp

primary
#F2ECA3
secondary
#6971D0
accent
#1DD70E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F2ECA3

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

Preview Lab → · Contrast checker → · Palette generator →

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