#F2ECA1#F2ECA1

#F2ECA1 is a very light, moderate yellow. Relative luminance 0.814; OKLCH L 93.1% C 0.095 H 104.2°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#F2ECA1
RGBrgb(242, 236, 161)
HSLhsl(56, 76%, 79%)
HSVhsv(56, 33%, 95%)
CMYKcmyk(0%, 2.5%, 33.5%, 5.1%)
CIE-LABlab(92.33, -8.94, 37.16)
CIE-LCHlch(92.33, 38.22, 103.53°)
OKLaboklab(93.07% -0.0233 0.092)
OKLCHoklch(93.07% 0.095 104.2)
XYZxyz(73.0472, 81.4429, 45.5834)
Luminance0.8144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECA1 #A1A7F2
analogous
#F2C4A1 #F2ECA1 #D0F2A1
triadic
#F2ECA1 #A1F2EC #ECA1F2
tetradic
#F2ECA1 #A1F2C4 #A1A7F2 #F2A1D0
square
#F2ECA1 #A1F2C4 #A1A7F2 #F2A1D0
split-complementary
#F2ECA1 #A1D0F2 #C4A1F2
monochromatic
#E3D635 #EBE16B #F2ECA1 #F9F7D7 #FBFAE4

Accessibility & contrast

On white

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

On black

17.29
#F2ECA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECA1
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECA1#FFFFFF#000000##000000
##F2ECA11.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E79C
Deuteranopia (green-blind)
#FBEBA4
Tritanopia (blue-blind)
#FEE2D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2eca1;
/* rgb */ color: rgb(242, 236, 161);
/* oklch */ color: oklch(93.1% 0.095 104.2);
Tailwind
colors: {
  custom: {
    50: '#f7f2bd',
    500: '#f2eca1',
    950: '#000000',
  },
}
SCSS
$custom: #f2eca1;
$custom-light: #f7f2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eca1",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 161
  },
  "hsl": {
    "h": 55.556,
    "s": 75.701,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93073,
    "c": 0.09494,
    "h": 104.2
  },
  "luminance": 0.81441
}

Semantic roles & 50–950 ramp

primary
#F2ECA1
secondary
#676FD0
accent
#1DD80E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F2ECA1

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

Preview Lab → · Contrast checker → · Palette generator →

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