#F2E864#F2E864

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

Color values

HEX#F2E864
RGBrgb(242, 232, 100)
HSLhsl(56, 85%, 67%)
HSVhsv(56, 59%, 95%)
CMYKcmyk(0%, 4.1%, 58.7%, 5.1%)
CIE-LABlab(90.56, -12.60, 63.84)
CIE-LCHlch(90.56, 65.07, 101.16°)
OKLaboklab(91.43% -0.0392 0.1468)
OKLCHoklch(91.43% 0.152 105)
XYZxyz(67.7771, 77.5129, 23.4454)
Luminance0.7751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E864 #646EF2
analogous
#F2A164 #F2E864 #B5F264
triadic
#F2E864 #64F2E8 #E864F2
tetradic
#F2E864 #64F2A1 #646EF2 #F264B5
square
#F2E864 #64F2A1 #646EF2 #F264B5
split-complementary
#F2E864 #64B5F2 #A164F2
monochromatic
#CBBE11 #EDE02C #F2E864 #F7F09C #FBF9D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E864#FFFFFF#000000##000000
##F2E8641.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)
#FAE055
Deuteranopia (green-blind)
#FEE76B
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e864;
/* rgb */ color: rgb(242, 232, 100);
/* oklch */ color: oklch(91.4% 0.152 105.0);
Tailwind
colors: {
  custom: {
    50: '#f9ef95',
    500: '#f2e864',
    950: '#000000',
  },
}
SCSS
$custom: #f2e864;
$custom-light: #f9ef95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e864",
  "rgb": {
    "r": 242,
    "g": 232,
    "b": 100
  },
  "hsl": {
    "h": 55.775,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91425,
    "c": 0.15199,
    "h": 105
  },
  "luminance": 0.77511
}

Semantic roles & 50–950 ramp

primary
#F2E864
secondary
#333EC7
accent
#14E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2E864

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

Preview Lab → · Contrast checker → · Palette generator →

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