#F2E863#F2E863

#F2E863 is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.4% C 0.153 H 105.0°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#F2E863
RGBrgb(242, 232, 99)
HSLhsl(56, 85%, 67%)
HSVhsv(56, 59%, 95%)
CMYKcmyk(0%, 4.1%, 59.1%, 5.1%)
CIE-LABlab(90.55, -12.66, 64.26)
CIE-LCHlch(90.55, 65.50, 101.15°)
OKLaboklab(91.42% -0.0395 0.1476)
OKLCHoklch(91.42% 0.153 105)
XYZxyz(67.7290, 77.4936, 23.1920)
Luminance0.7749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E863 #636DF2
analogous
#F2A163 #F2E863 #B5F263
triadic
#F2E863 #63F2E8 #E863F2
tetradic
#F2E863 #63F2A1 #636DF2 #F263B5
square
#F2E863 #63F2A1 #636DF2 #F263B5
split-complementary
#F2E863 #63B5F2 #A163F2
monochromatic
#CABD11 #EDE02B #F2E863 #F7F09B #FBF9D4

Accessibility & contrast

On white

1.27
#F2E863 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.50
#F2E863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E863
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E863#FFFFFF#000000##000000
##F2E8631.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE054
Deuteranopia (green-blind)
#FEE76A
Tritanopia (blue-blind)
#FFDACB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e863;
/* rgb */ color: rgb(242, 232, 99);
/* oklch */ color: oklch(91.4% 0.153 105.0);
Tailwind
colors: {
  custom: {
    50: '#f9ef94',
    500: '#f2e863',
    950: '#000000',
  },
}
SCSS
$custom: #f2e863;
$custom-light: #f9ef94;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e863",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 99
  },
  "hsl": {
    "h": 55.804,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.91415,
    "c": 0.1528,
    "h": 105
  },
  "luminance": 0.77491
}

Semantic roles & 50–950 ramp

primary
#F2E863
secondary
#333DC6
accent
#14E104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2E863

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

Preview Lab → · Contrast checker → · Palette generator →

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