#F2E8A5#F2E8A5

#F2E8A5 is a very light, moderate yellow. Relative luminance 0.793; OKLCH L 92.3% C 0.086 H 100.7°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#F2E8A5
RGBrgb(242, 232, 165)
HSLhsl(52, 75%, 80%)
HSVhsv(52, 32%, 95%)
CMYKcmyk(0%, 4.1%, 31.8%, 5.1%)
CIE-LABlab(91.37, -6.46, 33.88)
CIE-LCHlch(91.37, 34.49, 100.80°)
OKLaboklab(92.34% -0.0159 0.0845)
OKLCHoklch(92.34% 0.086 100.7)
XYZxyz(72.2668, 79.3088, 47.0913)
Luminance0.7931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E8A5 #A5AFF2
analogous
#F2C2A5 #F2E8A5 #D5F2A5
triadic
#F2E8A5 #A5F2E8 #E8A5F2
tetradic
#F2E8A5 #A5F2C2 #A5AFF2 #F2A5D5
square
#F2E8A5 #A5F2C2 #A5AFF2 #F2A5D5
split-complementary
#F2E8A5 #A5D5F2 #C2A5F2
monochromatic
#E3CD3A #EADA70 #F2E8A5 #FAF6DA #FBF8E4

Accessibility & contrast

On white

1.25
#F2E8A5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#F2E8A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E8A5
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E8A5#FFFFFF#000000##000000
##F2E8A51.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E4A0
Deuteranopia (green-blind)
#F8E8A7
Tritanopia (blue-blind)
#FDDFD7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2e8a5;
/* rgb */ color: rgb(242, 232, 165);
/* oklch */ color: oklch(92.3% 0.086 100.7);
Tailwind
colors: {
  custom: {
    50: '#f7efc0',
    500: '#f2e8a5',
    950: '#000000',
  },
}
SCSS
$custom: #f2e8a5;
$custom-light: #f7efc0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e8a5",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 165
  },
  "hsl": {
    "h": 52.208,
    "s": 74.757,
    "l": 79.804
  },
  "oklch": {
    "l": 0.92338,
    "c": 0.08596,
    "h": 100.7
  },
  "luminance": 0.79307
}

Semantic roles & 50–950 ramp

primary
#F2E8A5
secondary
#6B78D1
accent
#29D70F
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F2E8A5

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

Preview Lab → · Contrast checker → · Palette generator →

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