#F2ECAA#F2ECAA

#F2ECAA is a very light, moderate yellow. Relative luminance 0.818; OKLCH L 93.2% C 0.084 H 103.5°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#F2ECAA
RGBrgb(242, 236, 170)
HSLhsl(55, 73%, 81%)
HSVhsv(55, 30%, 95%)
CMYKcmyk(0%, 2.5%, 29.8%, 5.1%)
CIE-LABlab(92.47, -7.86, 32.81)
CIE-LCHlch(92.47, 33.74, 103.46°)
OKLaboklab(93.24% -0.0197 0.0821)
OKLCHoklch(93.24% 0.084 103.5)
XYZxyz(73.8696, 81.7719, 49.9146)
Luminance0.8177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECAA #AAB0F2
analogous
#F2C8AA #F2ECAA #D4F2AA
triadic
#F2ECAA #AAF2EC #ECAAF2
tetradic
#F2ECAA #AAF2C8 #AAB0F2 #F2AAD4
square
#F2ECAA #AAF2C8 #AAB0F2 #F2AAD4
split-complementary
#F2ECAA #AAD4F2 #C8AAF2
monochromatic
#E2D440 #EAE075 #F2ECAA #FAF8DF #FBF9E4

Accessibility & contrast

On white

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

On black

17.35
#F2ECAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECAA
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECAA#FFFFFF#000000##000000
##F2ECAA1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E7A6
Deuteranopia (green-blind)
#FAEBAC
Tritanopia (blue-blind)
#FDE3DB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ecaa;
/* rgb */ color: rgb(242, 236, 170);
/* oklch */ color: oklch(93.2% 0.084 103.5);
Tailwind
colors: {
  custom: {
    50: '#f7f2c3',
    500: '#f2ecaa',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecaa;
$custom-light: #f7f2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecaa",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 170
  },
  "hsl": {
    "h": 55,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.93236,
    "c": 0.08441,
    "h": 103.5
  },
  "luminance": 0.8177
}

Semantic roles & 50–950 ramp

primary
#F2ECAA
secondary
#6F77D1
accent
#20D610
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F2ECAA

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

Preview Lab → · Contrast checker → · Palette generator →

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