#F2E684#F2E684

#F2E684 is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.4% C 0.120 H 102.3°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#F2E684
RGBrgb(242, 230, 132)
HSLhsl(53, 81%, 73%)
HSVhsv(53, 45%, 95%)
CMYKcmyk(0%, 5%, 45.5%, 5.1%)
CIE-LABlab(90.39, -9.01, 48.98)
CIE-LCHlch(90.39, 49.80, 100.42°)
OKLaboklab(91.4% -0.0256 0.1176)
OKLCHoklch(91.4% 0.12 102.3)
XYZxyz(69.0813, 77.1389, 33.0757)
Luminance0.7714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E684 #8490F2
analogous
#F2AF84 #F2E684 #C7F284
triadic
#F2E684 #84F2E6 #E684F2
tetradic
#F2E684 #84F2AF #8490F2 #F284C7
square
#F2E684 #84F2AF #8490F2 #F284C7
split-complementary
#F2E684 #84C7F2 #AF84F2
monochromatic
#E4CD18 #ECDB4D #F2E684 #F8F1BB #FCF9E3

Accessibility & contrast

On white

1.28
#F2E684 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#F2E684 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E684
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E684#FFFFFF#000000##000000
##F2E6841.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E07C
Deuteranopia (green-blind)
#FAE688
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e684;
/* rgb */ color: rgb(242, 230, 132);
/* oklch */ color: oklch(91.4% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#f8eda9',
    500: '#f2e684',
    950: '#000000',
  },
}
SCSS
$custom: #f2e684;
$custom-light: #f8eda9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e684",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 132
  },
  "hsl": {
    "h": 53.455,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91399,
    "c": 0.12036,
    "h": 102.3
  },
  "luminance": 0.77137
}

Semantic roles & 50–950 ramp

primary
#F2E684
secondary
#4D5BCE
accent
#1FDD08
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #F2E684

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

Preview Lab → · Contrast checker → · Palette generator →

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