#F2EBAD#F2EBAD

#F2EBAD is a very light, moderate yellow. Relative luminance 0.813; OKLCH L 93.1% C 0.080 H 102.4°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#F2EBAD
RGBrgb(242, 235, 173)
HSLhsl(54, 73%, 81%)
HSVhsv(54, 29%, 95%)
CMYKcmyk(0%, 2.9%, 28.5%, 5.1%)
CIE-LABlab(92.27, -6.98, 31.02)
CIE-LCHlch(92.27, 31.79, 102.68°)
OKLaboklab(93.09% -0.0171 0.0779)
OKLCHoklch(93.09% 0.08 102.4)
XYZxyz(73.8695, 81.3125, 51.3306)
Luminance0.8131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EBAD #ADB4F2
analogous
#F2C9AD #F2EBAD #D7F2AD
triadic
#F2EBAD #ADF2EB #EBADF2
tetradic
#F2EBAD #ADF2C9 #ADB4F2 #F2ADD7
square
#F2EBAD #ADF2C9 #ADB4F2 #F2ADD7
split-complementary
#F2EBAD #ADD7F2 #C9ADF2
monochromatic
#E1D143 #EADE78 #F2EBAD #FAF8E2 #FBF9E5

Accessibility & contrast

On white

1.22
#F2EBAD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#F2EBAD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EBAD
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EBAD#FFFFFF#000000##000000
##F2EBAD1.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E7A9
Deuteranopia (green-blind)
#F9EBAF
Tritanopia (blue-blind)
#FCE3DB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ebad;
/* rgb */ color: rgb(242, 235, 173);
/* oklch */ color: oklch(93.1% 0.080 102.4);
Tailwind
colors: {
  custom: {
    50: '#f7f1c6',
    500: '#f2ebad',
    950: '#000000',
  },
}
SCSS
$custom: #f2ebad;
$custom-light: #f7f1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ebad",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 173
  },
  "hsl": {
    "h": 53.913,
    "s": 72.632,
    "l": 81.373
  },
  "oklch": {
    "l": 0.93092,
    "c": 0.07972,
    "h": 102.4
  },
  "luminance": 0.81311
}

Semantic roles & 50–950 ramp

primary
#F2EBAD
secondary
#727CD1
accent
#25D511
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F2EBAD

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

Preview Lab → · Contrast checker → · Palette generator →

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