#F2ECBD#F2ECBD

#F2ECBD is a very light, moderate yellow. Relative luminance 0.825; OKLCH L 93.6% C 0.061 H 101.4°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F2ECBD
RGBrgb(242, 236, 189)
HSLhsl(53, 67%, 85%)
HSVhsv(53, 22%, 95%)
CMYKcmyk(0%, 2.5%, 21.9%, 5.1%)
CIE-LABlab(92.81, -5.35, 23.58)
CIE-LCHlch(92.81, 24.18, 102.80°)
OKLaboklab(93.62% -0.0122 0.0601)
OKLCHoklch(93.62% 0.061 101.4)
XYZxyz(75.7985, 82.5435, 60.0737)
Luminance0.8254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECBD #BDC3F2
analogous
#F2D2BD #F2ECBD #DEF2BD
triadic
#F2ECBD #BDF2EC #ECBDF2
tetradic
#F2ECBD #BDF2D2 #BDC3F2 #F2BDDE
square
#F2ECBD #BDF2D2 #BDC3F2 #F2BDDE
split-complementary
#F2ECBD #BDDEF2 #D2BDF2
monochromatic
#DECF57 #E8DD8A #F2ECBD #FAF8E5 #FAF8E5

Accessibility & contrast

On white

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

On black

17.51
#F2ECBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECBD
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECBD#FFFFFF#000000##000000
##F2ECBD1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E9BA
Deuteranopia (green-blind)
#F7ECBF
Tritanopia (blue-blind)
#FAE5DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ecbd;
/* rgb */ color: rgb(242, 236, 189);
/* oklch */ color: oklch(93.6% 0.061 101.4);
Tailwind
colors: {
  custom: {
    50: '#f6f2d1',
    500: '#f2ecbd',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecbd;
$custom-light: #f6f2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecbd",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 189
  },
  "hsl": {
    "h": 53.208,
    "s": 67.089,
    "l": 84.51
  },
  "oklch": {
    "l": 0.93617,
    "c": 0.06131,
    "h": 101.4
  },
  "luminance": 0.82542
}

Semantic roles & 50–950 ramp

primary
#F2ECBD
secondary
#818BD2
accent
#2BCF17
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F2ECBD

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

Preview Lab → · Contrast checker → · Palette generator →

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