#F2EDA2#F2EDA2

#F2EDA2 is a very light, moderate yellow. Relative luminance 0.821; OKLCH L 93.3% C 0.095 H 104.8°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#F2EDA2
RGBrgb(242, 237, 162)
HSLhsl(56, 75%, 79%)
HSVhsv(56, 33%, 95%)
CMYKcmyk(0%, 2.1%, 33.1%, 5.1%)
CIE-LABlab(92.60, -9.32, 37.01)
CIE-LCHlch(92.60, 38.17, 104.14°)
OKLaboklab(93.29% -0.0243 0.0917)
OKLCHoklch(93.29% 0.095 104.8)
XYZxyz(73.4244, 82.0558, 46.1459)
Luminance0.8205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EDA2 #A2A7F2
analogous
#F2C5A2 #F2EDA2 #CFF2A2
triadic
#F2EDA2 #A2F2ED #EDA2F2
tetradic
#F2EDA2 #A2F2C5 #A2A7F2 #F2A2CF
square
#F2EDA2 #A2F2C5 #A2A7F2 #F2A2CF
split-complementary
#F2EDA2 #A2CFF2 #C5A2F2
monochromatic
#E3D837 #EAE36C #F2EDA2 #FAF7D8 #FBFAE4

Accessibility & contrast

On white

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

On black

17.41
#F2EDA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EDA2
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EDA2#FFFFFF#000000##000000
##F2EDA21.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2eda2;
/* rgb */ color: rgb(242, 237, 162);
/* oklch */ color: oklch(93.3% 0.095 104.8);
Tailwind
colors: {
  custom: {
    50: '#f7f2be',
    500: '#f2eda2',
    950: '#000000',
  },
}
SCSS
$custom: #f2eda2;
$custom-light: #f7f2be;
$custom-dark: #000000;
JSON
{
  "hex": "#f2eda2",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 162
  },
  "hsl": {
    "h": 56.25,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93293,
    "c": 0.09491,
    "h": 104.8
  },
  "luminance": 0.82054
}

Semantic roles & 50–950 ramp

primary
#F2EDA2
secondary
#686ED0
accent
#1AD80E
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171612
muted
#858582

Preview Lab

Preview with #F2EDA2

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

Preview Lab → · Contrast checker → · Palette generator →

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