#F2ECCB#F2ECCB

#F2ECCB is a very light, muted yellow. Relative luminance 0.832; OKLCH L 93.9% C 0.044 H 98.7°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#F2ECCB
RGBrgb(242, 236, 203)
HSLhsl(51, 60%, 87%)
HSVhsv(51, 16%, 95%)
CMYKcmyk(0%, 2.5%, 16.1%, 5.1%)
CIE-LABlab(93.09, -3.33, 16.75)
CIE-LCHlch(93.09, 17.08, 101.25°)
OKLaboklab(93.93% -0.0066 0.0432)
OKLCHoklch(93.93% 0.044 98.7)
XYZxyz(77.3922, 83.1809, 68.4668)
Luminance0.8318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECCB #CBD1F2
analogous
#F2D9CB #F2ECCB #E5F2CB
triadic
#F2ECCB #CBF2EC #ECCBF2
tetradic
#F2ECCB #CBF2D9 #CBD1F2 #F2CBE5
square
#F2ECCB #CBF2D9 #CBD1F2 #F2CBE5
split-complementary
#F2ECCB #CBE5F2 #D9CBF2
monochromatic
#DAC869 #E6DA9A #F2ECCB #F9F6E7 #F9F6E7

Accessibility & contrast

On white

1.19
#F2ECCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#F2ECCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECCB
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECCB#FFFFFF#000000##000000
##F2ECCB1.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3EAC9
Deuteranopia (green-blind)
#F5ECCC
Tritanopia (blue-blind)
#F9E7E3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2eccb;
/* rgb */ color: rgb(242, 236, 203);
/* oklch */ color: oklch(93.9% 0.044 98.7);
Tailwind
colors: {
  custom: {
    50: '#f6f2da',
    500: '#f2eccb',
    950: '#000000',
  },
}
SCSS
$custom: #f2eccb;
$custom-light: #f6f2da;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eccb",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 203
  },
  "hsl": {
    "h": 50.769,
    "s": 60,
    "l": 87.255
  },
  "oklch": {
    "l": 0.93929,
    "c": 0.04373,
    "h": 98.7
  },
  "luminance": 0.8318
}

Semantic roles & 50–950 ramp

primary
#F2ECCB
secondary
#909AD2
accent
#38C81E
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171615
muted
#858584

Preview Lab

Preview with #F2ECCB

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

Preview Lab → · Contrast checker → · Palette generator →

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