#F2D264#F2D264

#F2D264 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 87.0% C 0.134 H 93.2°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#F2D264
RGBrgb(242, 210, 100)
HSLhsl(46, 85%, 67%)
HSVhsv(46, 59%, 95%)
CMYKcmyk(0%, 13.2%, 58.7%, 5.1%)
CIE-LABlab(84.94, -1.54, 57.56)
CIE-LCHlch(84.94, 57.58, 91.53°)
OKLaboklab(86.97% -0.0075 0.1334)
OKLCHoklch(86.97% 0.134 93.2)
XYZxyz(61.9675, 65.8936, 21.5088)
Luminance0.6589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D264 #6484F2
analogous
#F28B64 #F2D264 #CBF264
triadic
#F2D264 #64F2D2 #D264F2
tetradic
#F2D264 #64F28B #6484F2 #F264CB
square
#F2D264 #64F28B #6484F2 #F264CB
split-complementary
#F2D264 #64CBF2 #8B64F2
monochromatic
#CBA111 #EDC22C #F2D264 #F7E29C #FBF3D5

Accessibility & contrast

On white

1.48
#F2D264 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#F2D264 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D264
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D264#FFFFFF#000000##000000
##F2D2641.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF59
Deuteranopia (green-blind)
#EED869
Tritanopia (blue-blind)
#FFC4BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f2d264;
/* rgb */ color: rgb(242, 210, 100);
/* oklch */ color: oklch(87.0% 0.134 93.2);
Tailwind
colors: {
  custom: {
    50: '#f9df94',
    500: '#f2d264',
    950: '#000000',
  },
}
SCSS
$custom: #f2d264;
$custom-light: #f9df94;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d264",
  "rgb": {
    "r": 242,
    "g": 210,
    "b": 100
  },
  "hsl": {
    "h": 46.479,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86974,
    "c": 0.13361,
    "h": 93.2
  },
  "luminance": 0.65891
}

Semantic roles & 50–950 ramp

primary
#F2D264
secondary
#3354C7
accent
#36E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D264

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

Preview Lab → · Contrast checker → · Palette generator →

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