#F2D464#F2D464

#F2D464 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.4% C 0.135 H 94.4°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#F2D464
RGBrgb(242, 212, 100)
HSLhsl(47, 85%, 67%)
HSVhsv(47, 59%, 95%)
CMYKcmyk(0%, 12.4%, 58.7%, 5.1%)
CIE-LABlab(85.45, -2.56, 58.13)
CIE-LCHlch(85.45, 58.19, 92.52°)
OKLaboklab(87.37% -0.0105 0.1346)
OKLCHoklch(87.37% 0.135 94.4)
XYZxyz(62.4643, 66.8873, 21.6745)
Luminance0.6688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D464 #6482F2
analogous
#F28D64 #F2D464 #C9F264
triadic
#F2D464 #64F2D4 #D464F2
tetradic
#F2D464 #64F28D #6482F2 #F264C9
square
#F2D464 #64F28D #6482F2 #F264C9
split-complementary
#F2D464 #64C9F2 #8D64F2
monochromatic
#CBA311 #EDC42C #F2D464 #F7E49C #FBF3D5

Accessibility & contrast

On white

1.46
#F2D464 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#F2D464 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D464
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D464#FFFFFF#000000##000000
##F2D4641.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D059
Deuteranopia (green-blind)
#EFDA69
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d464;
/* rgb */ color: rgb(242, 212, 100);
/* oklch */ color: oklch(87.4% 0.135 94.4);
Tailwind
colors: {
  custom: {
    50: '#f9e094',
    500: '#f2d464',
    950: '#000000',
  },
}
SCSS
$custom: #f2d464;
$custom-light: #f9e094;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d464",
  "rgb": {
    "r": 242,
    "g": 212,
    "b": 100
  },
  "hsl": {
    "h": 47.324,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87373,
    "c": 0.13504,
    "h": 94.4
  },
  "luminance": 0.66884
}

Semantic roles & 50–950 ramp

primary
#F2D464
secondary
#3352C7
accent
#33E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D464

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

Preview Lab → · Contrast checker → · Palette generator →

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