#F2EDA1#F2EDA1

#F2EDA1 is a very light, moderate yellow. Relative luminance 0.820; OKLCH L 93.3% C 0.096 H 104.9°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#F2EDA1
RGBrgb(242, 237, 161)
HSLhsl(56, 76%, 79%)
HSVhsv(56, 33%, 95%)
CMYKcmyk(0%, 2.1%, 33.5%, 5.1%)
CIE-LABlab(92.58, -9.44, 37.49)
CIE-LCHlch(92.58, 38.66, 104.13°)
OKLaboklab(93.28% -0.0247 0.0928)
OKLCHoklch(93.28% 0.096 104.9)
XYZxyz(73.3359, 82.0204, 45.6796)
Luminance0.8202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDA1 #A1A6F2
analogous
#F2C5A1 #F2EDA1 #CFF2A1
triadic
#F2EDA1 #A1F2ED #EDA1F2
tetradic
#F2EDA1 #A1F2C5 #A1A6F2 #F2A1CF
square
#F2EDA1 #A1F2C5 #A1A6F2 #F2A1CF
split-complementary
#F2EDA1 #A1CFF2 #C5A1F2
monochromatic
#E3D835 #EBE36B #F2EDA1 #F9F7D7 #FBFAE4

Accessibility & contrast

On white

1.21
#F2EDA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#F2EDA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDA1
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDA1#FFFFFF#000000##000000
##F2EDA11.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE79C
Deuteranopia (green-blind)
#FCECA4
Tritanopia (blue-blind)
#FDE3DA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2eda1;
/* rgb */ color: rgb(242, 237, 161);
/* oklch */ color: oklch(93.3% 0.096 104.9);
Tailwind
colors: {
  custom: {
    50: '#f7f2bd',
    500: '#f2eda1',
    950: '#000000',
  },
}
SCSS
$custom: #f2eda1;
$custom-light: #f7f2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eda1",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 161
  },
  "hsl": {
    "h": 56.296,
    "s": 75.701,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93276,
    "c": 0.09606,
    "h": 104.9
  },
  "luminance": 0.82019
}

Semantic roles & 50–950 ramp

primary
#F2EDA1
secondary
#676DD0
accent
#1AD80E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F2EDA1

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

Preview Lab → · Contrast checker → · Palette generator →

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