#F2EBAF#F2EBAF

#F2EBAF is a very light, moderate yellow. Relative luminance 0.814; OKLCH L 93.1% C 0.077 H 102.2°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#F2EBAF
RGBrgb(242, 235, 175)
HSLhsl(54, 72%, 82%)
HSVhsv(54, 28%, 95%)
CMYKcmyk(0%, 2.9%, 27.7%, 5.1%)
CIE-LABlab(92.31, -6.72, 30.05)
CIE-LCHlch(92.31, 30.79, 102.61°)
OKLaboklab(93.13% -0.0163 0.0756)
OKLCHoklch(93.13% 0.077 102.2)
XYZxyz(74.0645, 81.3905, 52.3574)
Luminance0.8139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EBAF #AFB6F2
analogous
#F2CAAF #F2EBAF #D8F2AF
triadic
#F2EBAF #AFF2EB #EBAFF2
tetradic
#F2EBAF #AFF2CA #AFB6F2 #F2AFD8
square
#F2EBAF #AFF2CA #AFB6F2 #F2AFD8
split-complementary
#F2EBAF #AFD8F2 #CAAFF2
monochromatic
#E1D146 #E9DE7A #F2EBAF #FBF8E4 #FBF8E5

Accessibility & contrast

On white

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

On black

17.28
#F2EBAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EBAF
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EBAF#FFFFFF#000000##000000
##F2EBAF1.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ebaf;
/* rgb */ color: rgb(242, 235, 175);
/* oklch */ color: oklch(93.1% 0.077 102.2);
Tailwind
colors: {
  custom: {
    50: '#f7f1c7',
    500: '#f2ebaf',
    950: '#000000',
  },
}
SCSS
$custom: #f2ebaf;
$custom-light: #f7f1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ebaf",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 175
  },
  "hsl": {
    "h": 53.731,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.93131,
    "c": 0.07732,
    "h": 102.2
  },
  "luminance": 0.81389
}

Semantic roles & 50–950 ramp

primary
#F2EBAF
secondary
#747ED1
accent
#26D411
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #F2EBAF

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

Preview Lab → · Contrast checker → · Palette generator →

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