#F2D660#F2D660

#F2D660 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.140 H 96.0°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#F2D660
RGBrgb(242, 214, 96)
HSLhsl(48, 85%, 66%)
HSVhsv(48, 60%, 95%)
CMYKcmyk(0%, 11.6%, 60.3%, 5.1%)
CIE-LABlab(85.92, -3.85, 60.44)
CIE-LCHlch(85.92, 60.57, 93.65°)
OKLaboklab(87.73% -0.0146 0.1391)
OKLCHoklch(87.73% 0.14 96)
XYZxyz(62.7785, 67.8179, 20.8475)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D660 #607CF2
analogous
#F28D60 #F2D660 #C5F260
triadic
#F2D660 #60F2D6 #D660F2
tetradic
#F2D660 #60F28D #607CF2 #F260C5
square
#F2D660 #60F28D #607CF2 #F260C5
split-complementary
#F2D660 #60C5F2 #8D60F2
monochromatic
#C7A410 #EDC727 #F2D660 #F7E599 #FBF3D1

Accessibility & contrast

On white

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

On black

14.56
#F2D660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D660
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D660#FFFFFF#000000##000000
##F2D6601.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD253
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d660;
/* rgb */ color: rgb(242, 214, 96);
/* oklch */ color: oklch(87.7% 0.140 96.0);
Tailwind
colors: {
  custom: {
    50: '#f9e291',
    500: '#f2d660',
    950: '#000000',
  },
}
SCSS
$custom: #f2d660;
$custom-light: #f9e291;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d660",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 96
  },
  "hsl": {
    "h": 48.493,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87731,
    "c": 0.13985,
    "h": 96
  },
  "luminance": 0.67815
}

Semantic roles & 50–950 ramp

primary
#F2D660
secondary
#324EC4
accent
#2FE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D660

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

Preview Lab → · Contrast checker → · Palette generator →

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