#F2EFAB#F2EFAB

#F2EFAB is a very light, moderate yellow. Relative luminance 0.836; OKLCH L 93.9% C 0.087 H 105.8°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#F2EFAB
RGBrgb(242, 239, 171)
HSLhsl(57, 73%, 81%)
HSVhsv(57, 29%, 95%)
CMYKcmyk(0%, 1.2%, 29.3%, 5.1%)
CIE-LABlab(93.26, -9.23, 33.35)
CIE-LCHlch(93.26, 34.60, 105.47°)
OKLaboklab(93.86% -0.0236 0.0834)
OKLCHoklch(93.86% 0.087 105.8)
XYZxyz(74.8355, 83.5519, 50.7050)
Luminance0.8355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EFAB #ABAEF2
analogous
#F2CBAB #F2EFAB #D1F2AB
triadic
#F2EFAB #ABF2EF #EFABF2
tetradic
#F2EFAB #ABF2CB #ABAEF2 #F2ABD1
square
#F2EFAB #ABF2CB #ABAEF2 #F2ABD1
split-complementary
#F2EFAB #ABD1F2 #CBABF2
monochromatic
#E2DB41 #EAE576 #F2EFAB #FAF9E0 #FBFAE5

Accessibility & contrast

On white

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

On black

17.71
#F2EFAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EFAB
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EFAB#FFFFFF#000000##000000
##F2EFAB1.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEAA6
Deuteranopia (green-blind)
#FCEDAE
Tritanopia (blue-blind)
#FCE6DD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2efab;
/* rgb */ color: rgb(242, 239, 171);
/* oklch */ color: oklch(93.9% 0.087 105.8);
Tailwind
colors: {
  custom: {
    50: '#f7f4c4',
    500: '#f2efab',
    950: '#000000',
  },
}
SCSS
$custom: #f2efab;
$custom-light: #f7f4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2efab",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 171
  },
  "hsl": {
    "h": 57.465,
    "s": 73.196,
    "l": 80.98
  },
  "oklch": {
    "l": 0.93861,
    "c": 0.08665,
    "h": 105.8
  },
  "luminance": 0.83551
}

Semantic roles & 50–950 ramp

primary
#F2EFAB
secondary
#7074D1
accent
#19D510
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #F2EFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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