#F2D963#F2D963

#F2D963 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.4% C 0.140 H 97.4°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#F2D963
RGBrgb(242, 217, 99)
HSLhsl(50, 85%, 67%)
HSVhsv(50, 59%, 95%)
CMYKcmyk(0%, 10.3%, 59.1%, 5.1%)
CIE-LABlab(86.70, -5.17, 60.00)
CIE-LCHlch(86.70, 60.22, 94.92°)
OKLaboklab(88.37% -0.0181 0.1385)
OKLCHoklch(88.37% 0.14 97.4)
XYZxyz(63.6855, 69.4067, 21.8442)
Luminance0.6940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D963 #637CF2
analogous
#F29163 #F2D963 #C4F263
triadic
#F2D963 #63F2D9 #D963F2
tetradic
#F2D963 #63F291 #637CF2 #F263C4
square
#F2D963 #63F291 #637CF2 #F263C4
split-complementary
#F2D963 #63C4F2 #9163F2
monochromatic
#CAA911 #EDCB2B #F2D963 #F7E79B #FBF5D4

Accessibility & contrast

On white

1.41
#F2D963 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#F2D963 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D963
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D963#FFFFFF#000000##000000
##F2D9631.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD457
Deuteranopia (green-blind)
#F3DD69
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d963;
/* rgb */ color: rgb(242, 217, 99);
/* oklch */ color: oklch(88.4% 0.140 97.4);
Tailwind
colors: {
  custom: {
    50: '#f9e493',
    500: '#f2d963',
    950: '#000000',
  },
}
SCSS
$custom: #f2d963;
$custom-light: #f9e493;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d963",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 99
  },
  "hsl": {
    "h": 49.51,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.88365,
    "c": 0.13968,
    "h": 97.4
  },
  "luminance": 0.69404
}

Semantic roles & 50–950 ramp

primary
#F2D963
secondary
#334DC6
accent
#2BE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D963

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

Preview Lab → · Contrast checker → · Palette generator →

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