#F2EF8A#F2EF8A

#F2EF8A is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.3% C 0.124 H 107.1°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#F2EF8A
RGBrgb(242, 239, 138)
HSLhsl(58, 80%, 75%)
HSVhsv(58, 43%, 95%)
CMYKcmyk(0%, 1.2%, 43%, 5.1%)
CIE-LABlab(92.77, -12.90, 49.04)
CIE-LCHlch(92.77, 50.71, 104.73°)
OKLaboklab(93.32% -0.0363 0.1181)
OKLCHoklch(93.32% 0.124 107.1)
XYZxyz(72.0733, 82.4469, 36.1570)
Luminance0.8245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF8A #8A8DF2
analogous
#F2BB8A #F2EF8A #C1F28A
triadic
#F2EF8A #8AF2EF #EF8AF2
tetradic
#F2EF8A #8AF2BB #8A8DF2 #F28AC1
square
#F2EF8A #8AF2BB #8A8DF2 #F28AC1
split-complementary
#F2EF8A #8AC1F2 #BB8AF2
monochromatic
#E6E01C #ECE753 #F2EF8A #F8F7C1 #FCFBE3

Accessibility & contrast

On white

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

On black

17.49
#F2EF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF8A
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF8A#FFFFFF#000000##000000
##F2EF8A1.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE882
Deuteranopia (green-blind)
#FFEC8F
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef8a;
/* rgb */ color: rgb(242, 239, 138);
/* oklch */ color: oklch(93.3% 0.124 107.1);
Tailwind
colors: {
  custom: {
    50: '#f8f4ae',
    500: '#f2ef8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef8a;
$custom-light: #f8f4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef8a",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 58.269,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.93319,
    "c": 0.12357,
    "h": 107.1
  },
  "luminance": 0.82445
}

Semantic roles & 50–950 ramp

primary
#F2EF8A
secondary
#5256CE
accent
#0FDC09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2EF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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