#F2EDA5#F2EDA5

#F2EDA5 is a very light, moderate yellow. Relative luminance 0.822; OKLCH L 93.3% C 0.091 H 104.7°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#F2EDA5
RGBrgb(242, 237, 165)
HSLhsl(56, 75%, 80%)
HSVhsv(56, 32%, 95%)
CMYKcmyk(0%, 2.1%, 31.8%, 5.1%)
CIE-LABlab(92.65, -8.97, 35.57)
CIE-LCHlch(92.65, 36.68, 104.15°)
OKLaboklab(93.35% -0.0231 0.0884)
OKLCHoklch(93.35% 0.091 104.7)
XYZxyz(73.6943, 82.1637, 47.5671)
Luminance0.8216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDA5 #A5AAF2
analogous
#F2C7A5 #F2EDA5 #D1F2A5
triadic
#F2EDA5 #A5F2ED #EDA5F2
tetradic
#F2EDA5 #A5F2C7 #A5AAF2 #F2A5D1
square
#F2EDA5 #A5F2C7 #A5AAF2 #F2A5D1
split-complementary
#F2EDA5 #A5D1F2 #C7A5F2
monochromatic
#E3D83A #EAE270 #F2EDA5 #FAF8DA #FBFAE4

Accessibility & contrast

On white

1.20
#F2EDA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.43
#F2EDA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDA5
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDA5#FFFFFF#000000##000000
##F2EDA51.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E8A0
Deuteranopia (green-blind)
#FCECA8
Tritanopia (blue-blind)
#FDE4DA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2eda5;
/* rgb */ color: rgb(242, 237, 165);
/* oklch */ color: oklch(93.3% 0.091 104.7);
Tailwind
colors: {
  custom: {
    50: '#f7f2c0',
    500: '#f2eda5',
    950: '#000000',
  },
}
SCSS
$custom: #f2eda5;
$custom-light: #f7f2c0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eda5",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 165
  },
  "hsl": {
    "h": 56.104,
    "s": 74.757,
    "l": 79.804
  },
  "oklch": {
    "l": 0.93346,
    "c": 0.09141,
    "h": 104.7
  },
  "luminance": 0.82162
}

Semantic roles & 50–950 ramp

primary
#F2EDA5
secondary
#6B71D1
accent
#1CD70F
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#171612
muted
#858582

Preview Lab

Preview with #F2EDA5

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

Preview Lab → · Contrast checker → · Palette generator →

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