#F2EDAB#F2EDAB

#F2EDAB is a very light, moderate yellow. Relative luminance 0.824; OKLCH L 93.5% C 0.084 H 104.2°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#F2EDAB
RGBrgb(242, 237, 171)
HSLhsl(56, 73%, 81%)
HSVhsv(56, 29%, 95%)
CMYKcmyk(0%, 2.1%, 29.3%, 5.1%)
CIE-LABlab(92.75, -8.23, 32.67)
CIE-LCHlch(92.75, 33.69, 104.14°)
OKLaboklab(93.46% -0.0208 0.0818)
OKLCHoklch(93.46% 0.084 104.2)
XYZxyz(74.2533, 82.3873, 50.5110)
Luminance0.8239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDAB #ABB0F2
analogous
#F2C9AB #F2EDAB #D3F2AB
triadic
#F2EDAB #ABF2ED #EDABF2
tetradic
#F2EDAB #ABF2C9 #ABB0F2 #F2ABD3
square
#F2EDAB #ABF2C9 #ABB0F2 #F2ABD3
split-complementary
#F2EDAB #ABD3F2 #C9ABF2
monochromatic
#E2D641 #EAE276 #F2EDAB #FAF8E0 #FBF9E5

Accessibility & contrast

On white

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

On black

17.48
#F2EDAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDAB
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDAB#FFFFFF#000000##000000
##F2EDAB1.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E8A7
Deuteranopia (green-blind)
#FBECAD
Tritanopia (blue-blind)
#FCE4DC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2edab;
/* rgb */ color: rgb(242, 237, 171);
/* oklch */ color: oklch(93.5% 0.084 104.2);
Tailwind
colors: {
  custom: {
    50: '#f7f2c4',
    500: '#f2edab',
    950: '#000000',
  },
}
SCSS
$custom: #f2edab;
$custom-light: #f7f2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2edab",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 171
  },
  "hsl": {
    "h": 55.775,
    "s": 73.196,
    "l": 80.98
  },
  "oklch": {
    "l": 0.93457,
    "c": 0.08434,
    "h": 104.2
  },
  "luminance": 0.82386
}

Semantic roles & 50–950 ramp

primary
#F2EDAB
secondary
#7077D1
accent
#1ED510
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #F2EDAB

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

Preview Lab → · Contrast checker → · Palette generator →

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