#F2E588#F2E588

#F2E588 is a very light, moderate yellow. Relative luminance 0.767; OKLCH L 91.3% C 0.115 H 101.4°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#F2E588
RGBrgb(242, 229, 136)
HSLhsl(53, 80%, 74%)
HSVhsv(53, 44%, 95%)
CMYKcmyk(0%, 5.4%, 43.8%, 5.1%)
CIE-LABlab(90.18, -8.13, 46.79)
CIE-LCHlch(90.18, 47.49, 99.85°)
OKLaboklab(91.25% -0.0227 0.1129)
OKLCHoklch(91.25% 0.115 101.4)
XYZxyz(69.0828, 76.6956, 34.4525)
Luminance0.7669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E588 #8895F2
analogous
#F2B088 #F2E588 #CAF288
triadic
#F2E588 #88F2E5 #E588F2
tetradic
#F2E588 #88F2B0 #8895F2 #F288CA
square
#F2E588 #88F2B0 #8895F2 #F288CA
split-complementary
#F2E588 #88CAF2 #B088F2
monochromatic
#E6CD1A #ECD951 #F2E588 #F8F1BF #FCF9E3

Accessibility & contrast

On white

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

On black

16.34
#F2E588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E588
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E588#FFFFFF#000000##000000
##F2E5881.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E081
Deuteranopia (green-blind)
#F9E58C
Tritanopia (blue-blind)
#FFD9CF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e588;
/* rgb */ color: rgb(242, 229, 136);
/* oklch */ color: oklch(91.3% 0.115 101.4);
Tailwind
colors: {
  custom: {
    50: '#f8edac',
    500: '#f2e588',
    950: '#000000',
  },
}
SCSS
$custom: #f2e588;
$custom-light: #f8edac;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e588",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 136
  },
  "hsl": {
    "h": 52.642,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91254,
    "c": 0.11521,
    "h": 101.4
  },
  "luminance": 0.76693
}

Semantic roles & 50–950 ramp

primary
#F2E588
secondary
#5060CE
accent
#23DD09
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E588

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

Preview Lab → · Contrast checker → · Palette generator →

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