#F2D561#F2D561

#F2D561 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.5% C 0.138 H 95.3°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#F2D561
RGBrgb(242, 213, 97)
HSLhsl(48, 85%, 66%)
HSVhsv(48, 60%, 95%)
CMYKcmyk(0%, 12%, 59.9%, 5.1%)
CIE-LABlab(85.67, -3.28, 59.73)
CIE-LCHlch(85.67, 59.82, 93.14°)
OKLaboklab(87.54% -0.0129 0.1377)
OKLCHoklch(87.54% 0.138 95.3)
XYZxyz(62.5725, 67.3318, 21.0074)
Luminance0.6733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D561 #617EF2
analogous
#F28D61 #F2D561 #C7F261
triadic
#F2D561 #61F2D5 #D561F2
tetradic
#F2D561 #61F28D #617EF2 #F261C7
square
#F2D561 #61F28D #617EF2 #F261C7
split-complementary
#F2D561 #61C7F2 #8D61F2
monochromatic
#C8A310 #EDC628 #F2D561 #F7E49A #FBF3D2

Accessibility & contrast

On white

1.45
#F2D561 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#F2D561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D561
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D561#FFFFFF#000000##000000
##F2D5611.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D155
Deuteranopia (green-blind)
#F0DA66
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d561;
/* rgb */ color: rgb(242, 213, 97);
/* oklch */ color: oklch(87.5% 0.138 95.3);
Tailwind
colors: {
  custom: {
    50: '#f9e192',
    500: '#f2d561',
    950: '#000000',
  },
}
SCSS
$custom: #f2d561;
$custom-light: #f9e192;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d561",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 97
  },
  "hsl": {
    "h": 48,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87541,
    "c": 0.13828,
    "h": 95.3
  },
  "luminance": 0.67329
}

Semantic roles & 50–950 ramp

primary
#F2D561
secondary
#3250C5
accent
#30E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D561

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

Preview Lab → · Contrast checker → · Palette generator →

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