#F2E488#F2E488

#F2E488 is a very light, moderate yellow. Relative luminance 0.761; OKLCH L 91.1% C 0.114 H 100.7°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F2E488
RGBrgb(242, 228, 136)
HSLhsl(52, 80%, 74%)
HSVhsv(52, 44%, 95%)
CMYKcmyk(0%, 5.8%, 43.8%, 5.1%)
CIE-LABlab(89.93, -7.62, 46.47)
CIE-LCHlch(89.93, 47.09, 99.32°)
OKLaboklab(91.05% -0.0213 0.1122)
OKLCHoklch(91.05% 0.114 100.7)
XYZxyz(68.8069, 76.1438, 34.3605)
Luminance0.7614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E488 #8896F2
analogous
#F2AF88 #F2E488 #CBF288
triadic
#F2E488 #88F2E4 #E488F2
tetradic
#F2E488 #88F2AF #8896F2 #F288CB
square
#F2E488 #88F2AF #8896F2 #F288CB
split-complementary
#F2E488 #88CBF2 #AF88F2
monochromatic
#E6CB1A #ECD751 #F2E488 #F8F1BF #FCF9E3

Accessibility & contrast

On white

1.29
#F2E488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#F2E488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E488
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E488#FFFFFF#000000##000000
##F2E4881.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF81
Deuteranopia (green-blind)
#F8E58C
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e488;
/* rgb */ color: rgb(242, 228, 136);
/* oklch */ color: oklch(91.1% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#f8ecac',
    500: '#f2e488',
    950: '#000000',
  },
}
SCSS
$custom: #f2e488;
$custom-light: #f8ecac;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e488",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 136
  },
  "hsl": {
    "h": 52.075,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91052,
    "c": 0.11423,
    "h": 100.7
  },
  "luminance": 0.76142
}

Semantic roles & 50–950 ramp

primary
#F2E488
secondary
#5061CE
accent
#25DD09
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E488

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

Preview Lab → · Contrast checker → · Palette generator →

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