#F2ECA7#F2ECA7

#F2ECA7 is a very light, moderate yellow. Relative luminance 0.817; OKLCH L 93.2% C 0.088 H 103.8°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#F2ECA7
RGBrgb(242, 236, 167)
HSLhsl(55, 74%, 80%)
HSVhsv(55, 31%, 95%)
CMYKcmyk(0%, 2.5%, 31%, 5.1%)
CIE-LABlab(92.42, -8.22, 34.26)
CIE-LCHlch(92.42, 35.24, 103.50°)
OKLaboklab(93.18% -0.0209 0.0854)
OKLCHoklch(93.18% 0.088 103.8)
XYZxyz(73.5890, 81.6597, 48.4371)
Luminance0.8166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECA7 #A7ADF2
analogous
#F2C6A7 #F2ECA7 #D2F2A7
triadic
#F2ECA7 #A7F2EC #ECA7F2
tetradic
#F2ECA7 #A7F2C6 #A7ADF2 #F2A7D2
square
#F2ECA7 #A7F2C6 #A7ADF2 #F2A7D2
split-complementary
#F2ECA7 #A7D2F2 #C6A7F2
monochromatic
#E2D53C #EAE072 #F2ECA7 #FAF8DC #FBF9E4

Accessibility & contrast

On white

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

On black

17.33
#F2ECA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECA7
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECA7#FFFFFF#000000##000000
##F2ECA71.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2eca7;
/* rgb */ color: rgb(242, 236, 167);
/* oklch */ color: oklch(93.2% 0.088 103.8);
Tailwind
colors: {
  custom: {
    50: '#f7f2c1',
    500: '#f2eca7',
    950: '#000000',
  },
}
SCSS
$custom: #f2eca7;
$custom-light: #f7f2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eca7",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 167
  },
  "hsl": {
    "h": 55.2,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.93181,
    "c": 0.08795,
    "h": 103.8
  },
  "luminance": 0.81658
}

Semantic roles & 50–950 ramp

primary
#F2ECA7
secondary
#6C75D1
accent
#1FD60F
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F2ECA7

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

Preview Lab → · Contrast checker → · Palette generator →

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