#F2D563#F2D563

#F2D563 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.137 H 95.1°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#F2D563
RGBrgb(242, 213, 99)
HSLhsl(48, 85%, 67%)
HSVhsv(48, 59%, 95%)
CMYKcmyk(0%, 12%, 59.1%, 5.1%)
CIE-LABlab(85.69, -3.14, 58.86)
CIE-LCHlch(85.69, 58.94, 93.05°)
OKLaboklab(87.56% -0.0122 0.1361)
OKLCHoklch(87.56% 0.137 95.1)
XYZxyz(62.6670, 67.3696, 21.5047)
Luminance0.6737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D563 #6380F2
analogous
#F28E63 #F2D563 #C8F263
triadic
#F2D563 #63F2D5 #D563F2
tetradic
#F2D563 #63F28E #6380F2 #F263C8
square
#F2D563 #63F28E #6380F2 #F263C8
split-complementary
#F2D563 #63C8F2 #8E63F2
monochromatic
#CAA411 #EDC62B #F2D563 #F7E49B #FBF3D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D563#FFFFFF#000000##000000
##F2D5631.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)
#E8D157
Deuteranopia (green-blind)
#F0DA68
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d563;
/* rgb */ color: rgb(242, 213, 99);
/* oklch */ color: oklch(87.6% 0.137 95.1);
Tailwind
colors: {
  custom: {
    50: '#f9e193',
    500: '#f2d563',
    950: '#000000',
  },
}
SCSS
$custom: #f2d563;
$custom-light: #f9e193;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d563",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 99
  },
  "hsl": {
    "h": 47.832,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87562,
    "c": 0.13661,
    "h": 95.1
  },
  "luminance": 0.67367
}

Semantic roles & 50–950 ramp

primary
#F2D563
secondary
#3351C6
accent
#31E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D563

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

Preview Lab → · Contrast checker → · Palette generator →

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