#F2ED8D#F2ED8D

#F2ED8D is a very light, moderate yellow. Relative luminance 0.814; OKLCH L 93.0% C 0.118 H 105.9°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#F2ED8D
RGBrgb(242, 237, 141)
HSLhsl(57, 80%, 75%)
HSVhsv(57, 42%, 95%)
CMYKcmyk(0%, 2.1%, 41.7%, 5.1%)
CIE-LABlab(92.30, -11.61, 47.00)
CIE-LCHlch(92.30, 48.41, 103.88°)
OKLaboklab(92.95% -0.0323 0.1137)
OKLCHoklch(92.95% 0.118 105.9)
XYZxyz(71.7112, 81.3705, 37.1226)
Luminance0.8137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED8D #8D92F2
analogous
#F2BB8D #F2ED8D #C4F28D
triadic
#F2ED8D #8DF2ED #ED8DF2
tetradic
#F2ED8D #8DF2BB #8D92F2 #F28DC4
square
#F2ED8D #8DF2BB #8D92F2 #F28DC4
split-complementary
#F2ED8D #8DC4F2 #BB8DF2
monochromatic
#E5DC1F #ECE456 #F2ED8D #F8F6C4 #FCFBE4

Accessibility & contrast

On white

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

On black

17.27
#F2ED8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED8D
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED8D#FFFFFF#000000##000000
##F2ED8D1.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE685
Deuteranopia (green-blind)
#FEEB91
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ed8d;
/* rgb */ color: rgb(242, 237, 141);
/* oklch */ color: oklch(93.0% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#f8f2b0',
    500: '#f2ed8d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed8d;
$custom-light: #f8f2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed8d",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 141
  },
  "hsl": {
    "h": 57.03,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.92954,
    "c": 0.11823,
    "h": 105.9
  },
  "luminance": 0.81369
}

Semantic roles & 50–950 ramp

primary
#F2ED8D
secondary
#555BCF
accent
#14DC0A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2ED8D

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

Preview Lab → · Contrast checker → · Palette generator →

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