#F2EBA4#F2EBA4

#F2EBA4 is a very light, moderate yellow. Relative luminance 0.810; OKLCH L 92.9% C 0.090 H 103.2°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#F2EBA4
RGBrgb(242, 235, 164)
HSLhsl(55, 75%, 80%)
HSVhsv(55, 32%, 95%)
CMYKcmyk(0%, 2.9%, 32.2%, 5.1%)
CIE-LABlab(92.12, -8.09, 35.37)
CIE-LCHlch(92.12, 36.29, 102.88°)
OKLaboklab(92.92% -0.0207 0.088)
OKLCHoklch(92.92% 0.09 103.2)
XYZxyz(73.0278, 80.9758, 46.8977)
Luminance0.8097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EBA4 #A4ABF2
analogous
#F2C4A4 #F2EBA4 #D2F2A4
triadic
#F2EBA4 #A4F2EB #EBA4F2
tetradic
#F2EBA4 #A4F2C4 #A4ABF2 #F2A4D2
square
#F2EBA4 #A4F2C4 #A4ABF2 #F2A4D2
split-complementary
#F2EBA4 #A4D2F2 #C4A4F2
monochromatic
#E3D339 #EADF6E #F2EBA4 #FAF7DA #FBF9E4

Accessibility & contrast

On white

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

On black

17.19
#F2EBA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EBA4
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EBA4#FFFFFF#000000##000000
##F2EBA41.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E69F
Deuteranopia (green-blind)
#FAEAA7
Tritanopia (blue-blind)
#FDE2D9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2eba4;
/* rgb */ color: rgb(242, 235, 164);
/* oklch */ color: oklch(92.9% 0.090 103.2);
Tailwind
colors: {
  custom: {
    50: '#f7f1bf',
    500: '#f2eba4',
    950: '#000000',
  },
}
SCSS
$custom: #f2eba4;
$custom-light: #f7f1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eba4",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 164
  },
  "hsl": {
    "h": 54.615,
    "s": 75,
    "l": 79.608
  },
  "oklch": {
    "l": 0.92924,
    "c": 0.09035,
    "h": 103.2
  },
  "luminance": 0.80974
}

Semantic roles & 50–950 ramp

primary
#F2EBA4
secondary
#6A73D0
accent
#20D70E
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F2EBA4

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

Preview Lab → · Contrast checker → · Palette generator →

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