#F2D661#F2D661

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

Color values

HEX#F2D661
RGBrgb(242, 214, 97)
HSLhsl(48, 85%, 66%)
HSVhsv(48, 60%, 95%)
CMYKcmyk(0%, 11.6%, 59.9%, 5.1%)
CIE-LABlab(85.92, -3.78, 60.01)
CIE-LCHlch(85.92, 60.13, 93.61°)
OKLaboklab(87.74% -0.0143 0.1383)
OKLCHoklch(87.74% 0.139 95.9)
XYZxyz(62.8248, 67.8364, 21.0915)
Luminance0.6783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D661 #617DF2
analogous
#F28E61 #F2D661 #C6F261
triadic
#F2D661 #61F2D6 #D661F2
tetradic
#F2D661 #61F28E #617DF2 #F261C6
square
#F2D661 #61F28E #617DF2 #F261C6
split-complementary
#F2D661 #61C6F2 #8E61F2
monochromatic
#C8A510 #EDC728 #F2D661 #F7E59A #FBF3D2

Accessibility & contrast

On white

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

On black

14.57
#F2D661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D661
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D661#FFFFFF#000000##000000
##F2D6611.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d661;
/* rgb */ color: rgb(242, 214, 97);
/* oklch */ color: oklch(87.7% 0.139 95.9);
Tailwind
colors: {
  custom: {
    50: '#f9e292',
    500: '#f2d661',
    950: '#000000',
  },
}
SCSS
$custom: #f2d661;
$custom-light: #f9e292;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d661",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 97
  },
  "hsl": {
    "h": 48.414,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87741,
    "c": 0.13903,
    "h": 95.9
  },
  "luminance": 0.67833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2D661

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

Preview Lab → · Contrast checker → · Palette generator →

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