#F2ECBB#F2ECBB

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

Color values

HEX#F2ECBB
RGBrgb(242, 236, 187)
HSLhsl(53, 68%, 84%)
HSVhsv(53, 23%, 95%)
CMYKcmyk(0%, 2.5%, 22.7%, 5.1%)
CIE-LABlab(92.78, -5.63, 24.55)
CIE-LCHlch(92.78, 25.19, 102.92°)
OKLaboklab(93.57% -0.013 0.0625)
OKLCHoklch(93.57% 0.064 101.7)
XYZxyz(75.5829, 82.4572, 58.9383)
Luminance0.8246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECBB #BBC1F2
analogous
#F2D1BB #F2ECBB #DDF2BB
triadic
#F2ECBB #BBF2EC #ECBBF2
tetradic
#F2ECBB #BBF2D1 #BBC1F2 #F2BBDD
square
#F2ECBB #BBF2D1 #BBC1F2 #F2BBDD
split-complementary
#F2ECBB #BBDDF2 #D1BBF2
monochromatic
#DECF54 #E8DE88 #F2ECBB #FAF8E5 #FAF8E5

Accessibility & contrast

On white

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

On black

17.49
#F2ECBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECBB
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECBB#FFFFFF#000000##000000
##F2ECBB1.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E8B8
Deuteranopia (green-blind)
#F8ECBD
Tritanopia (blue-blind)
#FBE5DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ecbb;
/* rgb */ color: rgb(242, 236, 187);
/* oklch */ color: oklch(93.6% 0.064 101.7);
Tailwind
colors: {
  custom: {
    50: '#f6f2cf',
    500: '#f2ecbb',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecbb;
$custom-light: #f6f2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecbb",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 187
  },
  "hsl": {
    "h": 53.455,
    "s": 67.901,
    "l": 84.118
  },
  "oklch": {
    "l": 0.93574,
    "c": 0.06378,
    "h": 101.7
  },
  "luminance": 0.82456
}

Semantic roles & 50–950 ramp

primary
#F2ECBB
secondary
#8088D2
accent
#2AD016
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #F2ECBB

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

Preview Lab → · Contrast checker → · Palette generator →

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