#F2E651#F2E651

#F2E651 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.8% C 0.164 H 104.7°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#F2E651
RGBrgb(242, 230, 81)
HSLhsl(56, 86%, 63%)
HSVhsv(56, 67%, 95%)
CMYKcmyk(0%, 5%, 66.5%, 5.1%)
CIE-LABlab(89.89, -12.76, 70.87)
CIE-LCHlch(89.89, 72.01, 100.21°)
OKLaboklab(90.85% -0.0417 0.159)
OKLCHoklch(90.85% 0.164 104.7)
XYZxyz(66.4026, 76.0674, 18.9677)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E651 #515DF2
analogous
#F29551 #F2E651 #ADF251
triadic
#F2E651 #51F2E6 #E651F2
tetradic
#F2E651 #51F295 #515DF2 #F251AD
square
#F2E651 #51F295 #515DF2 #F251AD
split-complementary
#F2E651 #51ADF2 #9551F2
monochromatic
#BBAE0E #EEDE18 #F2E651 #F6EE8A #FBF6C3

Accessibility & contrast

On white

1.30
#F2E651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#F2E651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E651
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E651#FFFFFF#000000##000000
##F2E6511.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3C
Deuteranopia (green-blind)
#FEE55A
Tritanopia (blue-blind)
#FFD7C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e651;
/* rgb */ color: rgb(242, 230, 81);
/* oklch */ color: oklch(90.8% 0.164 104.7);
Tailwind
colors: {
  custom: {
    50: '#faed89',
    500: '#f2e651',
    950: '#000000',
  },
}
SCSS
$custom: #f2e651;
$custom-light: #faed89;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e651",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 81
  },
  "hsl": {
    "h": 55.528,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90847,
    "c": 0.16439,
    "h": 104.7
  },
  "luminance": 0.76065
}

Semantic roles & 50–950 ramp

primary
#F2E651
secondary
#2E38B9
accent
#14E303
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F2E651

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

Preview Lab → · Contrast checker → · Palette generator →

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