#F2ECBA#F2ECBA

#F2ECBA is a very light, moderate yellow. Relative luminance 0.824; OKLCH L 93.6% C 0.065 H 101.9°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#F2ECBA
RGBrgb(242, 236, 186)
HSLhsl(54, 68%, 84%)
HSVhsv(54, 23%, 95%)
CMYKcmyk(0%, 2.5%, 23.1%, 5.1%)
CIE-LABlab(92.76, -5.77, 25.04)
CIE-LCHlch(92.76, 25.69, 102.97°)
OKLaboklab(93.55% -0.0134 0.0636)
OKLCHoklch(93.55% 0.065 101.9)
XYZxyz(75.4763, 82.4146, 58.3764)
Luminance0.8241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECBA #BAC0F2
analogous
#F2D0BA #F2ECBA #DCF2BA
triadic
#F2ECBA #BAF2EC #ECBAF2
tetradic
#F2ECBA #BAF2D0 #BAC0F2 #F2BADC
square
#F2ECBA #BAF2D0 #BAC0F2 #F2BADC
split-complementary
#F2ECBA #BADCF2 #D0BAF2
monochromatic
#DFD053 #E8DE87 #F2ECBA #FAF8E5 #FAF8E5

Accessibility & contrast

On white

1.20
#F2ECBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#F2ECBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECBA
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECBA#FFFFFF#000000##000000
##F2ECBA1.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E8B7
Deuteranopia (green-blind)
#F8ECBC
Tritanopia (blue-blind)
#FBE5DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ecba;
/* rgb */ color: rgb(242, 236, 186);
/* oklch */ color: oklch(93.6% 0.065 101.9);
Tailwind
colors: {
  custom: {
    50: '#f6f2cf',
    500: '#f2ecba',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecba;
$custom-light: #f6f2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecba",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 186
  },
  "hsl": {
    "h": 53.571,
    "s": 68.293,
    "l": 83.922
  },
  "oklch": {
    "l": 0.93553,
    "c": 0.06502,
    "h": 101.9
  },
  "luminance": 0.82413
}

Semantic roles & 50–950 ramp

primary
#F2ECBA
secondary
#7F87D2
accent
#29D015
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171613
muted
#858583

Preview Lab

Preview with #F2ECBA

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

Preview Lab → · Contrast checker → · Palette generator →

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