#F2D966#F2D966

#F2D966 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.4% C 0.137 H 97.2°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#F2D966
RGBrgb(242, 217, 102)
HSLhsl(49, 84%, 67%)
HSVhsv(49, 58%, 95%)
CMYKcmyk(0%, 10.3%, 57.9%, 5.1%)
CIE-LABlab(86.73, -4.96, 58.69)
CIE-LCHlch(86.73, 58.90, 94.83°)
OKLaboklab(88.4% -0.0171 0.1361)
OKLCHoklch(88.4% 0.137 97.2)
XYZxyz(63.8316, 69.4651, 22.6136)
Luminance0.6946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D966 #667FF2
analogous
#F29366 #F2D966 #C5F266
triadic
#F2D966 #66F2D9 #D966F2
tetradic
#F2D966 #66F293 #667FF2 #F266C5
square
#F2D966 #66F293 #667FF2 #F266C5
split-complementary
#F2D966 #66C5F2 #9366F2
monochromatic
#CCAB11 #EDCB2E #F2D966 #F7E79E #FCF5D7

Accessibility & contrast

On white

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

On black

14.89
#F2D966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D966
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D966#FFFFFF#000000##000000
##F2D9661.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD45A
Deuteranopia (green-blind)
#F3DD6B
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d966;
/* rgb */ color: rgb(242, 217, 102);
/* oklch */ color: oklch(88.4% 0.137 97.2);
Tailwind
colors: {
  custom: {
    50: '#f9e495',
    500: '#f2d966',
    950: '#000000',
  },
}
SCSS
$custom: #f2d966;
$custom-light: #f9e495;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d966",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 49.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88397,
    "c": 0.13714,
    "h": 97.2
  },
  "luminance": 0.69462
}

Semantic roles & 50–950 ramp

primary
#F2D966
secondary
#344EC9
accent
#2CE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D966

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

Preview Lab → · Contrast checker → · Palette generator →

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