#F2E564#F2E564

#F2E564 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.8% C 0.149 H 103.6°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#F2E564
RGBrgb(242, 229, 100)
HSLhsl(55, 85%, 67%)
HSVhsv(55, 59%, 95%)
CMYKcmyk(0%, 5.4%, 58.7%, 5.1%)
CIE-LABlab(89.78, -11.11, 62.99)
CIE-LCHlch(89.78, 63.96, 100.00°)
OKLaboklab(90.81% -0.035 0.145)
OKLCHoklch(90.81% 0.149 103.6)
XYZxyz(66.9398, 75.8384, 23.1663)
Luminance0.7584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E564 #6471F2
analogous
#F29E64 #F2E564 #B8F264
triadic
#F2E564 #64F2E5 #E564F2
tetradic
#F2E564 #64F29E #6471F2 #F264B8
square
#F2E564 #64F29E #6471F2 #F264B8
split-complementary
#F2E564 #64B8F2 #9E64F2
monochromatic
#CBBA11 #EDDC2C #F2E564 #F7EE9C #FBF8D5

Accessibility & contrast

On white

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

On black

16.17
#F2E564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E564
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E564#FFFFFF#000000##000000
##F2E5641.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE56
Deuteranopia (green-blind)
#FCE56B
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e564;
/* rgb */ color: rgb(242, 229, 100);
/* oklch */ color: oklch(90.8% 0.149 103.6);
Tailwind
colors: {
  custom: {
    50: '#f9ec95',
    500: '#f2e564',
    950: '#000000',
  },
}
SCSS
$custom: #f2e564;
$custom-light: #f9ec95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e564",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 100
  },
  "hsl": {
    "h": 54.507,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90811,
    "c": 0.14918,
    "h": 103.6
  },
  "luminance": 0.75836
}

Semantic roles & 50–950 ramp

primary
#F2E564
secondary
#3341C7
accent
#19E105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E564

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

Preview Lab → · Contrast checker → · Palette generator →

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