#F2D366#F2D366

#F2D366 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.2% C 0.133 H 93.6°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#F2D366
RGBrgb(242, 211, 102)
HSLhsl(47, 84%, 67%)
HSVhsv(47, 58%, 95%)
CMYKcmyk(0%, 12.8%, 57.9%, 5.1%)
CIE-LABlab(85.21, -1.91, 56.96)
CIE-LCHlch(85.21, 56.99, 91.92°)
OKLaboklab(87.2% -0.0083 0.1323)
OKLCHoklch(87.2% 0.133 93.6)
XYZxyz(62.3131, 66.4281, 22.1075)
Luminance0.6643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D366 #6685F2
analogous
#F28D66 #F2D366 #CBF266
triadic
#F2D366 #66F2D3 #D366F2
tetradic
#F2D366 #66F28D #6685F2 #F266CB
square
#F2D366 #66F28D #6685F2 #F266CB
split-complementary
#F2D366 #66CBF2 #8D66F2
monochromatic
#CCA311 #EDC32E #F2D366 #F7E39E #FCF3D7

Accessibility & contrast

On white

1.47
#F2D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#F2D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D366
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D366#FFFFFF#000000##000000
##F2D3661.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5B
Deuteranopia (green-blind)
#EED96B
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f2d366;
/* rgb */ color: rgb(242, 211, 102);
/* oklch */ color: oklch(87.2% 0.133 93.6);
Tailwind
colors: {
  custom: {
    50: '#f9e095',
    500: '#f2d366',
    950: '#000000',
  },
}
SCSS
$custom: #f2d366;
$custom-light: #f9e095;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d366",
  "rgb": {
    "r": 242,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 46.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87195,
    "c": 0.1326,
    "h": 93.6
  },
  "luminance": 0.66425
}

Semantic roles & 50–950 ramp

primary
#F2D366
secondary
#3455C9
accent
#35E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D366

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

Preview Lab → · Contrast checker → · Palette generator →

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