#F2D664#F2D664

#F2D664 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.137 H 95.6°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#F2D664
RGBrgb(242, 214, 100)
HSLhsl(48, 85%, 67%)
HSVhsv(48, 59%, 95%)
CMYKcmyk(0%, 11.6%, 58.7%, 5.1%)
CIE-LABlab(85.95, -3.58, 58.70)
CIE-LCHlch(85.95, 58.81, 93.49°)
OKLaboklab(87.77% -0.0134 0.1359)
OKLCHoklch(87.77% 0.137 95.6)
XYZxyz(62.9674, 67.8934, 21.8421)
Luminance0.6789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D664 #6480F2
analogous
#F28F64 #F2D664 #C7F264
triadic
#F2D664 #64F2D6 #D664F2
tetradic
#F2D664 #64F28F #6480F2 #F264C7
square
#F2D664 #64F28F #6480F2 #F264C7
split-complementary
#F2D664 #64C7F2 #8F64F2
monochromatic
#CBA611 #EDC72C #F2D664 #F7E59C #FBF4D5

Accessibility & contrast

On white

1.44
#F2D664 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#F2D664 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D664
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D664#FFFFFF#000000##000000
##F2D6641.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D258
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d664;
/* rgb */ color: rgb(242, 214, 100);
/* oklch */ color: oklch(87.8% 0.137 95.6);
Tailwind
colors: {
  custom: {
    50: '#f9e294',
    500: '#f2d664',
    950: '#000000',
  },
}
SCSS
$custom: #f2d664;
$custom-light: #f9e294;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d664",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 100
  },
  "hsl": {
    "h": 48.169,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87773,
    "c": 0.13652,
    "h": 95.6
  },
  "luminance": 0.6789
}

Semantic roles & 50–950 ramp

primary
#F2D664
secondary
#3350C7
accent
#30E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D664

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

Preview Lab → · Contrast checker → · Palette generator →

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