#F2EBA8#F2EBA8

#F2EBA8 is a very light, moderate yellow. Relative luminance 0.811; OKLCH L 93.0% C 0.086 H 102.9°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#F2EBA8
RGBrgb(242, 235, 168)
HSLhsl(54, 74%, 80%)
HSVhsv(54, 31%, 95%)
CMYKcmyk(0%, 2.9%, 30.6%, 5.1%)
CIE-LABlab(92.19, -7.60, 33.44)
CIE-LCHlch(92.19, 34.29, 102.81°)
OKLaboklab(93% -0.0191 0.0835)
OKLCHoklch(93% 0.086 102.9)
XYZxyz(73.3947, 81.1226, 48.8301)
Luminance0.8112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EBA8 #A8AFF2
analogous
#F2C6A8 #F2EBA8 #D4F2A8
triadic
#F2EBA8 #A8F2EB #EBA8F2
tetradic
#F2EBA8 #A8F2C6 #A8AFF2 #F2A8D4
square
#F2EBA8 #A8F2C6 #A8AFF2 #F2A8D4
split-complementary
#F2EBA8 #A8D4F2 #C6A8F2
monochromatic
#E2D33E #EADF73 #F2EBA8 #FAF7DD #FBF9E4

Accessibility & contrast

On white

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

On black

17.22
#F2EBA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EBA8
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EBA8#FFFFFF#000000##000000
##F2EBA81.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E6A3
Deuteranopia (green-blind)
#FAEAAA
Tritanopia (blue-blind)
#FDE2DA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2eba8;
/* rgb */ color: rgb(242, 235, 168);
/* oklch */ color: oklch(93.0% 0.086 102.9);
Tailwind
colors: {
  custom: {
    50: '#f7f1c2',
    500: '#f2eba8',
    950: '#000000',
  },
}
SCSS
$custom: #f2eba8;
$custom-light: #f7f1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eba8",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 168
  },
  "hsl": {
    "h": 54.324,
    "s": 74,
    "l": 80.392
  },
  "oklch": {
    "l": 0.92997,
    "c": 0.08566,
    "h": 102.9
  },
  "luminance": 0.81121
}

Semantic roles & 50–950 ramp

primary
#F2EBA8
secondary
#6D77D1
accent
#22D60F
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F2EBA8

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

Preview Lab → · Contrast checker → · Palette generator →

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