#F2D564#F2D564

#F2D564 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.136 H 95.0°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#F2D564
RGBrgb(242, 213, 100)
HSLhsl(48, 85%, 67%)
HSVhsv(48, 59%, 95%)
CMYKcmyk(0%, 12%, 58.7%, 5.1%)
CIE-LABlab(85.70, -3.07, 58.42)
CIE-LCHlch(85.70, 58.50, 93.01°)
OKLaboklab(87.57% -0.0119 0.1352)
OKLCHoklch(87.57% 0.136 95)
XYZxyz(62.7151, 67.3888, 21.7580)
Luminance0.6739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D564 #6481F2
analogous
#F28E64 #F2D564 #C8F264
triadic
#F2D564 #64F2D5 #D564F2
tetradic
#F2D564 #64F28E #6481F2 #F264C8
square
#F2D564 #64F28E #6481F2 #F264C8
split-complementary
#F2D564 #64C8F2 #8E64F2
monochromatic
#CBA511 #EDC62C #F2D564 #F7E49C #FBF4D5

Accessibility & contrast

On white

1.45
#F2D564 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#F2D564 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D564
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D564#FFFFFF#000000##000000
##F2D5641.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D158
Deuteranopia (green-blind)
#F0DA69
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d564;
/* rgb */ color: rgb(242, 213, 100);
/* oklch */ color: oklch(87.6% 0.136 95.0);
Tailwind
colors: {
  custom: {
    50: '#f9e194',
    500: '#f2d564',
    950: '#000000',
  },
}
SCSS
$custom: #f2d564;
$custom-light: #f9e194;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d564",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 100
  },
  "hsl": {
    "h": 47.746,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87573,
    "c": 0.13577,
    "h": 95
  },
  "luminance": 0.67386
}

Semantic roles & 50–950 ramp

primary
#F2D564
secondary
#3351C7
accent
#32E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D564

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

Preview Lab → · Contrast checker → · Palette generator →

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