#F2ECB7#F2ECB7

#F2ECB7 is a very light, moderate yellow. Relative luminance 0.823; OKLCH L 93.5% C 0.069 H 102.2°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#F2ECB7
RGBrgb(242, 236, 183)
HSLhsl(54, 69%, 83%)
HSVhsv(54, 24%, 95%)
CMYKcmyk(0%, 2.5%, 24.4%, 5.1%)
CIE-LABlab(92.70, -6.18, 26.50)
CIE-LCHlch(92.70, 27.21, 103.12°)
OKLaboklab(93.49% -0.0146 0.0672)
OKLCHoklch(93.49% 0.069 102.2)
XYZxyz(75.1607, 82.2883, 56.7144)
Luminance0.8229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ECB7 #B7BDF2
analogous
#F2CEB7 #F2ECB7 #DAF2B7
triadic
#F2ECB7 #B7F2EC #ECB7F2
tetradic
#F2ECB7 #B7F2CE #B7BDF2 #F2B7DA
square
#F2ECB7 #B7F2CE #B7BDF2 #F2B7DA
split-complementary
#F2ECB7 #B7DAF2 #CEB7F2
monochromatic
#DFD14F #E9DE83 #F2ECB7 #FAF8E5 #FAF8E5

Accessibility & contrast

On white

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

On black

17.46
#F2ECB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ECB7
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ECB7#FFFFFF#000000##000000
##F2ECB71.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ecb7;
/* rgb */ color: rgb(242, 236, 183);
/* oklch */ color: oklch(93.5% 0.069 102.2);
Tailwind
colors: {
  custom: {
    50: '#f7f2cd',
    500: '#f2ecb7',
    950: '#000000',
  },
}
SCSS
$custom: #f2ecb7;
$custom-light: #f7f2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ecb7",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 183
  },
  "hsl": {
    "h": 53.898,
    "s": 69.412,
    "l": 83.333
  },
  "oklch": {
    "l": 0.93491,
    "c": 0.06871,
    "h": 102.2
  },
  "luminance": 0.82287
}

Semantic roles & 50–950 ramp

primary
#F2ECB7
secondary
#7C84D2
accent
#27D114
background
#FFFFFE
surface
#FEFEFA
border
#D6D6D3
text
#171613
muted
#858583

Preview Lab

Preview with #F2ECB7

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

Preview Lab → · Contrast checker → · Palette generator →

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