#F2D566#F2D566

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

Color values

HEX#F2D566
RGBrgb(242, 213, 102)
HSLhsl(48, 84%, 67%)
HSVhsv(48, 58%, 95%)
CMYKcmyk(0%, 12%, 57.9%, 5.1%)
CIE-LABlab(85.72, -2.93, 57.53)
CIE-LCHlch(85.72, 57.61, 92.91°)
OKLaboklab(87.6% -0.0113 0.1336)
OKLCHoklch(87.6% 0.134 94.8)
XYZxyz(62.8131, 67.4280, 22.2741)
Luminance0.6743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D566 #6683F2
analogous
#F28F66 #F2D566 #C9F266
triadic
#F2D566 #66F2D5 #D566F2
tetradic
#F2D566 #66F28F #6683F2 #F266C9
square
#F2D566 #66F28F #6683F2 #F266C9
split-complementary
#F2D566 #66C9F2 #8F66F2
monochromatic
#CCA611 #EDC62E #F2D566 #F7E49E #FCF4D7

Accessibility & contrast

On white

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

On black

14.49
#F2D566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D566
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D566#FFFFFF#000000##000000
##F2D5661.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#F0DA6B
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d566;
/* rgb */ color: rgb(242, 213, 102);
/* oklch */ color: oklch(87.6% 0.134 94.8);
Tailwind
colors: {
  custom: {
    50: '#f9e195',
    500: '#f2d566',
    950: '#000000',
  },
}
SCSS
$custom: #f2d566;
$custom-light: #f9e195;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d566",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 102
  },
  "hsl": {
    "h": 47.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87595,
    "c": 0.13406,
    "h": 94.8
  },
  "luminance": 0.67425
}

Semantic roles & 50–950 ramp

primary
#F2D566
secondary
#3452C9
accent
#32E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D566

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

Preview Lab → · Contrast checker → · Palette generator →

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