#F2D663#F2D663

#F2D663 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.137 H 95.7°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#F2D663
RGBrgb(242, 214, 99)
HSLhsl(48, 85%, 67%)
HSVhsv(48, 59%, 95%)
CMYKcmyk(0%, 11.6%, 59.1%, 5.1%)
CIE-LABlab(85.94, -3.65, 59.14)
CIE-LCHlch(85.94, 59.25, 93.53°)
OKLaboklab(87.76% -0.0137 0.1367)
OKLCHoklch(87.76% 0.137 95.7)
XYZxyz(62.9193, 67.8742, 21.5888)
Luminance0.6787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D663 #637FF2
analogous
#F28F63 #F2D663 #C6F263
triadic
#F2D663 #63F2D6 #D663F2
tetradic
#F2D663 #63F28F #637FF2 #F263C6
square
#F2D663 #63F28F #637FF2 #F263C6
split-complementary
#F2D663 #63C6F2 #8F63F2
monochromatic
#CAA611 #EDC72B #F2D663 #F7E59B #FBF4D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D663#FFFFFF#000000##000000
##F2D6631.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)
#E9D257
Deuteranopia (green-blind)
#F1DB68
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d663;
/* rgb */ color: rgb(242, 214, 99);
/* oklch */ color: oklch(87.8% 0.137 95.7);
Tailwind
colors: {
  custom: {
    50: '#f9e293',
    500: '#f2d663',
    950: '#000000',
  },
}
SCSS
$custom: #f2d663;
$custom-light: #f9e293;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d663",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 99
  },
  "hsl": {
    "h": 48.252,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87762,
    "c": 0.13736,
    "h": 95.7
  },
  "luminance": 0.67871
}

Semantic roles & 50–950 ramp

primary
#F2D663
secondary
#3350C6
accent
#30E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D663

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

Preview Lab → · Contrast checker → · Palette generator →

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