#F2EF8D#F2EF8D

#F2EF8D is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.4% C 0.120 H 107.0°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F2EF8D
RGBrgb(242, 239, 141)
HSLhsl(58, 80%, 75%)
HSVhsv(58, 42%, 95%)
CMYKcmyk(0%, 1.2%, 41.7%, 5.1%)
CIE-LABlab(92.81, -12.60, 47.64)
CIE-LCHlch(92.81, 49.28, 104.81°)
OKLaboklab(93.36% -0.0352 0.1152)
OKLCHoklch(93.36% 0.12 107)
XYZxyz(72.2935, 82.5350, 37.3167)
Luminance0.8253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF8D #8D90F2
analogous
#F2BD8D #F2EF8D #C2F28D
triadic
#F2EF8D #8DF2EF #EF8DF2
tetradic
#F2EF8D #8DF2BD #8D90F2 #F28DC2
square
#F2EF8D #8DF2BD #8D90F2 #F28DC2
split-complementary
#F2EF8D #8DC2F2 #BD8DF2
monochromatic
#E5E01F #ECE756 #F2EF8D #F8F7C4 #FCFBE4

Accessibility & contrast

On white

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

On black

17.51
#F2EF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF8D
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF8D#FFFFFF#000000##000000
##F2EF8D1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE885
Deuteranopia (green-blind)
#FFEC91
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef8d;
/* rgb */ color: rgb(242, 239, 141);
/* oklch */ color: oklch(93.4% 0.120 107.0);
Tailwind
colors: {
  custom: {
    50: '#f8f4b0',
    500: '#f2ef8d',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef8d;
$custom-light: #f8f4b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef8d",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 141
  },
  "hsl": {
    "h": 58.218,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.93362,
    "c": 0.12041,
    "h": 107
  },
  "luminance": 0.82533
}

Semantic roles & 50–950 ramp

primary
#F2EF8D
secondary
#5558CF
accent
#10DC0A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2EF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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