#F2D560#F2D560

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

Color values

HEX#F2D560
RGBrgb(242, 213, 96)
HSLhsl(48, 85%, 66%)
HSVhsv(48, 60%, 95%)
CMYKcmyk(0%, 12%, 60.3%, 5.1%)
CIE-LABlab(85.66, -3.34, 60.16)
CIE-LCHlch(85.66, 60.25, 93.18°)
OKLaboklab(87.53% -0.0132 0.1385)
OKLCHoklch(87.53% 0.139 95.4)
XYZxyz(62.5262, 67.3133, 20.7634)
Luminance0.6731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D560 #607DF2
analogous
#F28C60 #F2D560 #C6F260
triadic
#F2D560 #60F2D5 #D560F2
tetradic
#F2D560 #60F28C #607DF2 #F260C6
square
#F2D560 #60F28C #607DF2 #F260C6
split-complementary
#F2D560 #60C6F2 #8C60F2
monochromatic
#C7A310 #EDC627 #F2D560 #F7E499 #FBF3D1

Accessibility & contrast

On white

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

On black

14.46
#F2D560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D560
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D560#FFFFFF#000000##000000
##F2D5601.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D154
Deuteranopia (green-blind)
#F0DA65
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d560;
/* rgb */ color: rgb(242, 213, 96);
/* oklch */ color: oklch(87.5% 0.139 95.4);
Tailwind
colors: {
  custom: {
    50: '#f9e191',
    500: '#f2d560',
    950: '#000000',
  },
}
SCSS
$custom: #f2d560;
$custom-light: #f9e191;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d560",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 96
  },
  "hsl": {
    "h": 48.082,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87531,
    "c": 0.13911,
    "h": 95.4
  },
  "luminance": 0.6731
}

Semantic roles & 50–950 ramp

primary
#F2D560
secondary
#324FC4
accent
#30E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D560

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

Preview Lab → · Contrast checker → · Palette generator →

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