#F2D964#F2D964

#F2D964 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.4% C 0.139 H 97.4°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#F2D964
RGBrgb(242, 217, 100)
HSLhsl(49, 85%, 67%)
HSVhsv(49, 59%, 95%)
CMYKcmyk(0%, 10.3%, 58.7%, 5.1%)
CIE-LABlab(86.71, -5.10, 59.56)
CIE-LCHlch(86.71, 59.78, 94.89°)
OKLaboklab(88.38% -0.0178 0.1377)
OKLCHoklch(88.38% 0.139 97.4)
XYZxyz(63.7336, 69.4259, 22.0976)
Luminance0.6942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D964 #647DF2
analogous
#F29264 #F2D964 #C4F264
triadic
#F2D964 #64F2D9 #D964F2
tetradic
#F2D964 #64F292 #647DF2 #F264C4
square
#F2D964 #64F292 #647DF2 #F264C4
split-complementary
#F2D964 #64C4F2 #9264F2
monochromatic
#CBAA11 #EDCB2C #F2D964 #F7E79C #FBF5D5

Accessibility & contrast

On white

1.41
#F2D964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#F2D964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D964
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D964#FFFFFF#000000##000000
##F2D9641.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD458
Deuteranopia (green-blind)
#F3DD6A
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d964;
/* rgb */ color: rgb(242, 217, 100);
/* oklch */ color: oklch(88.4% 0.139 97.4);
Tailwind
colors: {
  custom: {
    50: '#f9e494',
    500: '#f2d964',
    950: '#000000',
  },
}
SCSS
$custom: #f2d964;
$custom-light: #f9e494;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d964",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 100
  },
  "hsl": {
    "h": 49.437,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88376,
    "c": 0.13884,
    "h": 97.4
  },
  "luminance": 0.69423
}

Semantic roles & 50–950 ramp

primary
#F2D964
secondary
#334DC7
accent
#2BE105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D964

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

Preview Lab → · Contrast checker → · Palette generator →

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