#F2EDAD#F2EDAD

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

Color values

HEX#F2EDAD
RGBrgb(242, 237, 173)
HSLhsl(56, 73%, 81%)
HSVhsv(56, 29%, 95%)
CMYKcmyk(0%, 2.1%, 28.5%, 5.1%)
CIE-LABlab(92.78, -7.98, 31.70)
CIE-LCHlch(92.78, 32.69, 104.13°)
OKLaboklab(93.49% -0.02 0.0795)
OKLCHoklch(93.49% 0.082 104.1)
XYZxyz(74.4453, 82.4641, 51.5225)
Luminance0.8246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDAD #ADB2F2
analogous
#F2CBAD #F2EDAD #D5F2AD
triadic
#F2EDAD #ADF2ED #EDADF2
tetradic
#F2EDAD #ADF2CB #ADB2F2 #F2ADD5
square
#F2EDAD #ADF2CB #ADB2F2 #F2ADD5
split-complementary
#F2EDAD #ADD5F2 #CBADF2
monochromatic
#E1D643 #EAE178 #F2EDAD #FAF9E2 #FBF9E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EDAD#FFFFFF#000000##000000
##F2EDAD1.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)
#F8E8A9
Deuteranopia (green-blind)
#FAECAF
Tritanopia (blue-blind)
#FCE5DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2edad;
/* rgb */ color: rgb(242, 237, 173);
/* oklch */ color: oklch(93.5% 0.082 104.1);
Tailwind
colors: {
  custom: {
    50: '#f7f2c6',
    500: '#f2edad',
    950: '#000000',
  },
}
SCSS
$custom: #f2edad;
$custom-light: #f7f2c6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edad",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 173
  },
  "hsl": {
    "h": 55.652,
    "s": 72.632,
    "l": 81.373
  },
  "oklch": {
    "l": 0.93495,
    "c": 0.08196,
    "h": 104.1
  },
  "luminance": 0.82463
}

Semantic roles & 50–950 ramp

primary
#F2EDAD
secondary
#7279D1
accent
#1FD511
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2EDAD

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

Preview Lab → · Contrast checker → · Palette generator →

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