#F2EBA7#F2EBA7

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

Color values

HEX#F2EBA7
RGBrgb(242, 235, 167)
HSLhsl(54, 74%, 80%)
HSVhsv(54, 31%, 95%)
CMYKcmyk(0%, 2.9%, 31%, 5.1%)
CIE-LABlab(92.17, -7.72, 33.92)
CIE-LCHlch(92.17, 34.79, 102.83°)
OKLaboklab(92.98% -0.0195 0.0846)
OKLCHoklch(92.98% 0.087 103)
XYZxyz(73.3019, 81.0855, 48.3414)
Luminance0.8108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EBA7 #A7AEF2
analogous
#F2C5A7 #F2EBA7 #D3F2A7
triadic
#F2EBA7 #A7F2EB #EBA7F2
tetradic
#F2EBA7 #A7F2C5 #A7AEF2 #F2A7D3
square
#F2EBA7 #A7F2C5 #A7AEF2 #F2A7D3
split-complementary
#F2EBA7 #A7D3F2 #C5A7F2
monochromatic
#E2D33C #EADF72 #F2EBA7 #FAF7DC #FBF9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EBA7#FFFFFF#000000##000000
##F2EBA71.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)
#F7E6A2
Deuteranopia (green-blind)
#FAEAAA
Tritanopia (blue-blind)
#FDE2D9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2eba7;
/* rgb */ color: rgb(242, 235, 167);
/* oklch */ color: oklch(93.0% 0.087 103.0);
Tailwind
colors: {
  custom: {
    50: '#f7f1c1',
    500: '#f2eba7',
    950: '#000000',
  },
}
SCSS
$custom: #f2eba7;
$custom-light: #f7f1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eba7",
  "rgb": {
    "r": 242,
    "g": 235,
    "b": 167
  },
  "hsl": {
    "h": 54.4,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.92979,
    "c": 0.08684,
    "h": 103
  },
  "luminance": 0.81084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EBA7

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

Preview Lab → · Contrast checker → · Palette generator →

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