#F2EBAA#F2EBAA

#F2EBAA is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 93.0% C 0.083 H 102.7°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F2EBAA
RGBrgb(242, 235, 170)
HSLhsl(54, 73%, 81%)
HSVhsv(54, 30%, 95%)
CMYKcmyk(0%, 2.9%, 29.8%, 5.1%)
CIE-LABlab(92.22, -7.36, 32.47)
CIE-LCHlch(92.22, 33.29, 102.76°)
OKLaboklab(93.04% -0.0183 0.0813)
OKLCHoklch(93.04% 0.083 102.7)
XYZxyz(73.5825, 81.1977, 49.8189)
Luminance0.8120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EBAA #AAB1F2
analogous
#F2C7AA #F2EBAA #D5F2AA
triadic
#F2EBAA #AAF2EB #EBAAF2
tetradic
#F2EBAA #AAF2C7 #AAB1F2 #F2AAD5
square
#F2EBAA #AAF2C7 #AAB1F2 #F2AAD5
split-complementary
#F2EBAA #AAD5F2 #C7AAF2
monochromatic
#E2D240 #EADF75 #F2EBAA #FAF7DF #FBF9E4

Accessibility & contrast

On white

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

On black

17.24
#F2EBAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EBAA
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EBAA#FFFFFF#000000##000000
##F2EBAA1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ebaa;
/* rgb */ color: rgb(242, 235, 170);
/* oklch */ color: oklch(93.0% 0.083 102.7);
Tailwind
colors: {
  custom: {
    50: '#f7f1c3',
    500: '#f2ebaa',
    950: '#000000',
  },
}
SCSS
$custom: #f2ebaa;
$custom-light: #f7f1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ebaa",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 170
  },
  "hsl": {
    "h": 54.167,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.93035,
    "c": 0.08329,
    "h": 102.7
  },
  "luminance": 0.81196
}

Semantic roles & 50–950 ramp

primary
#F2EBAA
secondary
#6F79D1
accent
#23D610
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F2EBAA

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

Preview Lab → · Contrast checker → · Palette generator →

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