#F2ECA5#F2ECA5

#F2ECA5 is a very light, moderate yellow. Relative luminance 0.816; OKLCH L 93.1% C 0.090 H 103.9°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#F2ECA5
RGBrgb(242, 236, 165)
HSLhsl(55, 75%, 80%)
HSVhsv(55, 32%, 95%)
CMYKcmyk(0%, 2.5%, 31.8%, 5.1%)
CIE-LABlab(92.39, -8.47, 35.23)
CIE-LCHlch(92.39, 36.23, 103.51°)
OKLaboklab(93.14% -0.0217 0.0877)
OKLCHoklch(93.14% 0.09 103.9)
XYZxyz(73.4056, 81.5863, 47.4709)
Luminance0.8158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECA5 #A5ABF2
analogous
#F2C6A5 #F2ECA5 #D1F2A5
triadic
#F2ECA5 #A5F2EC #ECA5F2
tetradic
#F2ECA5 #A5F2C6 #A5ABF2 #F2A5D1
square
#F2ECA5 #A5F2C6 #A5ABF2 #F2A5D1
split-complementary
#F2ECA5 #A5D1F2 #C6A5F2
monochromatic
#E3D53A #EAE170 #F2ECA5 #FAF7DA #FBF9E4

Accessibility & contrast

On white

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

On black

17.32
#F2ECA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECA5
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECA5#FFFFFF#000000##000000
##F2ECA51.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E7A0
Deuteranopia (green-blind)
#FBEBA8
Tritanopia (blue-blind)
#FDE3DA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2eca5;
/* rgb */ color: rgb(242, 236, 165);
/* oklch */ color: oklch(93.1% 0.090 103.9);
Tailwind
colors: {
  custom: {
    50: '#f7f2c0',
    500: '#f2eca5',
    950: '#000000',
  },
}
SCSS
$custom: #f2eca5;
$custom-light: #f7f2c0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eca5",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 165
  },
  "hsl": {
    "h": 55.325,
    "s": 74.757,
    "l": 79.804
  },
  "oklch": {
    "l": 0.93144,
    "c": 0.0903,
    "h": 103.9
  },
  "luminance": 0.81585
}

Semantic roles & 50–950 ramp

primary
#F2ECA5
secondary
#6B73D1
accent
#1ED70F
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F2ECA5

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

Preview Lab → · Contrast checker → · Palette generator →

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