#F2ECA2#F2ECA2

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

Color values

HEX#F2ECA2
RGBrgb(242, 236, 162)
HSLhsl(56, 75%, 79%)
HSVhsv(56, 33%, 95%)
CMYKcmyk(0%, 2.5%, 33.1%, 5.1%)
CIE-LABlab(92.34, -8.82, 36.68)
CIE-LCHlch(92.34, 37.72, 103.53°)
OKLaboklab(93.09% -0.0229 0.091)
OKLCHoklch(93.09% 0.094 104.1)
XYZxyz(73.1357, 81.4783, 46.0496)
Luminance0.8148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECA2 #A2A8F2
analogous
#F2C4A2 #F2ECA2 #D0F2A2
triadic
#F2ECA2 #A2F2EC #ECA2F2
tetradic
#F2ECA2 #A2F2C4 #A2A8F2 #F2A2D0
square
#F2ECA2 #A2F2C4 #A2A8F2 #F2A2D0
split-complementary
#F2ECA2 #A2D0F2 #C4A2F2
monochromatic
#E3D637 #EAE16C #F2ECA2 #FAF7D8 #FBFAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2ECA2#FFFFFF#000000##000000
##F2ECA21.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)
#F9E79D
Deuteranopia (green-blind)
#FBEBA5
Tritanopia (blue-blind)
#FDE3D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2eca2;
/* rgb */ color: rgb(242, 236, 162);
/* oklch */ color: oklch(93.1% 0.094 104.1);
Tailwind
colors: {
  custom: {
    50: '#f7f2be',
    500: '#f2eca2',
    950: '#000000',
  },
}
SCSS
$custom: #f2eca2;
$custom-light: #f7f2be;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eca2",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 162
  },
  "hsl": {
    "h": 55.5,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93091,
    "c": 0.09378,
    "h": 104.1
  },
  "luminance": 0.81477
}

Semantic roles & 50–950 ramp

primary
#F2ECA2
secondary
#6870D0
accent
#1DD80E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F2ECA2

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

Preview Lab → · Contrast checker → · Palette generator →

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